Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | Do not override flags thereby respect the flags coming from environment, |
| 2 | e.g. we need some optimization level turned on when security flags are enabled |
| 3 | without this change, the build would fail |
| 4 | |
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 6 | Index: ssiapi.1.0.1/configure.ac |
| 7 | =================================================================== |
| 8 | --- ssiapi.1.0.1.orig/configure.ac |
| 9 | +++ ssiapi.1.0.1/configure.ac |
| 10 | @@ -15,11 +15,6 @@ AC_SUBST(VERSION) |
| 11 | AM_INIT_AUTOMAKE(ssi, ${VERSION}) |
| 12 | AM_CONFIG_HEADER(config.h) |
| 13 | |
| 14 | -dnl Set the language we use |
| 15 | -CPPFLAGS="-g3 -gdwarf-2 -Wall -Werror -D_GNU_SOURCE" |
| 16 | -CFLAGS="-std=gnu99" |
| 17 | -CXXFLAGS="-std=gnu++98" |
| 18 | - |
| 19 | dnl Automake 1.11 - silent build rules |
| 20 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 21 | |