Check for gcc before setting gcc specific CFLAGS

This commit is contained in:
Petri Lehtinen
2010-08-12 20:59:48 +03:00
parent 6e3ca5c45c
commit f71eb7fe17
2 changed files with 4 additions and 0 deletions

View File

@@ -17,4 +17,7 @@ libjansson_la_LDFLAGS = \
-export-symbols-regex '^json_' \
-version-info 3:0:3
if GCC
# These flags are gcc specific
AM_CFLAGS = -Wall -Wextra -Werror
endif