X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=7a4e1301c7529b44f9d798006d59d565c8017469;hb=5cd97263ce3d2fe446fa2d5856c4401326094714;hp=d7a01dfed9a533e93600a926e8cca5148e924093;hpb=d053448171c8de783da013c2642a7ee7d2482c63;p=picodrive.git diff --git a/Makefile b/Makefile index d7a01df..7a4e130 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CFLAGS += -Wall -ggdb -falign-functions=2 CFLAGS += -I. -DINLINE=inline ifndef DEBUG CFLAGS += -O2 -DNDEBUG -ffunction-sections -ifeq ($(findstring clang,$(CC)),) +ifneq ($(APPLE),1) LDFLAGS += -Wl,--gc-sections endif endif