From 132d5fad266b1af8ea0cc61c8d55192113f14e2b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 18 Jun 2014 01:50:10 +0200 Subject: use, and define, __GCC__ rather than usign __GNUC__ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 179d44f..1dc49d3 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2