-
Notifications
You must be signed in to change notification settings - Fork 2
/
Common.am
37 lines (33 loc) · 1.34 KB
/
Common.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Hive Viriatum Web Server
# Copyright (c) 2008-2020 Hive Solutions Lda.
#
# This file is part of Hive Viriatum Web Server.
#
# Hive Viriatum Web Server is free software: you can redistribute it and/or modify
# it under the terms of the Apache License as published by the Apache
# Foundation, either version 2.0 of the License, or (at your option) any
# later version.
#
# Hive Viriatum Web Server is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Apache License for more details.
#
# You should have received a copy of the Apache License along with
# Hive Viriatum Web Server. If not, see <http://www.apache.org/licenses/>.
# __author__ = João Magalhães <[email protected]>
# __version__ = 1.0.0
# __revision__ = $LastChangedRevision$
# __date__ = $LastChangedDate$
# __copyright__ = Copyright (c) 2008-2020 Hive Solutions Lda.
# __license__ = Apache License, Version 2.0
if CLANG
EXTRA_FLAGS =
else
EXTRA_FLAGS = -finline-functions
endif
if CNEO
EXTRA_FLAGS += -Wformat-overflow=0
endif
AM_CFLAGS = -pedantic -Wall -Wno-long-long -Wno-variadic-macros -Wno-strict-aliasing -DHAVE_CONFIG_H $(EXTRA_FLAGS)
AM_CXXFLAGS = -pedantic -Wall -Wno-long-long -Wno-variadic-macros -Wno-strict-aliasing -DHAVE_CONFIG_H $(EXTRA_FLAGS)