diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:50:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:50:10 +0200 |
commit | 132d5fad266b1af8ea0cc61c8d55192113f14e2b (patch) | |
tree | 094f320da925c488bf452cece7518e49985adafb /Makefile | |
parent | add missing _error suffix (diff) | |
download | libgamma-132d5fad266b1af8ea0cc61c8d55192113f14e2b.tar.gz libgamma-132d5fad266b1af8ea0cc61c8d55192113f14e2b.tar.bz2 libgamma-132d5fad266b1af8ea0cc61c8d55192113f14e2b.tar.xz |
use, and define, __GCC__ rather than usign __GNUC__
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -116,6 +116,12 @@ endif LIB_FLAGS = $(TEST_FLAGS) $(DEBUG_FLAGS) $(DEFINITIONS) -DLIBGAMMA_CONFIG_H +ifeq ($(CC),gcc) +TEST_FLAGS += -D__GCC__ +LIB_FLAGS += -D__GCC__ +endif + + # Build rules. .PHONY: default |