diff options
author | Guenter Knauf <lists@gknw.net> | 2011-02-17 11:46:41 +0100 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2011-02-17 11:46:41 +0100 |
commit | 827f0a318cdbf73800c2366cf6a3132f2b2a7c49 (patch) | |
tree | ce8f2aa108babe5fd5b4595669da8c04b6a041c8 /lib/Makefile.netware | |
parent | b66eeb8bf82b73022184b6cd7efbc61185645e30 (diff) | |
download | curl-827f0a318cdbf73800c2366cf6a3132f2b2a7c49.tar.gz |
Set -fpcc-struct-return only for gcc compiler.curl-7_21_4
Diffstat (limited to 'lib/Makefile.netware')
-rw-r--r-- | lib/Makefile.netware | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 642f051d6..a4f6ebb65 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -146,7 +146,10 @@ ARFLAGS = -cq LIBEXT = a RANLIB = ranlib CFLAGS += -m32 -CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing +CFLAGS += -fno-builtin -fno-strict-aliasing +ifeq ($(findstring gcc,$(CC)),gcc) +CFLAGS += -fpcc-struct-return +endif CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC) ifeq ($(POSIXFL),1) |