From 50ff9e4fd0aa1da00769564438d21e4ea6ad2981 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Fri, 26 Apr 2013 15:43:13 +0000 Subject: [PATCH] Fix OSX compiles --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff63173..6a9ccd8 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ CC ?= clang LDFLAGS := LIBS := -lm -CFLAGS += -Wall -Wextra -Werror -I. -fno-strict-aliasing $(OPTIONAL) +CFLAGS += -Wall -Wextra -Werror -fno-strict-aliasing $(OPTIONAL) ifneq ($(shell git describe --always 2>/dev/null),) CFLAGS += -DGMQCC_GITINFO="\"$(shell git describe --always)\"" endif @@ -34,7 +34,7 @@ else #Tiny C Compiler doesn't know what -pedantic-errors is # and instead of ignoring .. just errors. ifneq ($(CC), tcc) - CFLAGS +=-pedantic-errors -ffunction-sections -fdata-sections -Wl,-gc-sections + CFLAGS += -pedantic-errors else CFLAGS += -Wno-pointer-sign -fno-common endif -- 2.39.2