summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-18 16:02:42 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-18 16:28:57 +0200
commit367ac44ac1582c837e7a13031d9bfce0446bc415 (patch)
tree0bf6c89d431c01fbefcefb9f5b3daef1dde869ce /Makefile
parent2cd46456c08b85d88ee00404ec6349703b3053b7 (diff)
Remove private feature macros for Solaris from compiler flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 271d11b..eb325e1 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ CC:=$(shell sh -c 'type $(CC) 2>/dev/null 1>/dev/null && echo $(CC) || echo gcc'
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
OPTIMIZATION?=-O3
ifeq ($(uname_S),SunOS)
- CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W -D__EXTENSIONS__ -D_XPG6 $(ARCH) $(PROF)
+ CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W $(ARCH) $(PROF)
CCLINK?=-ldl -lnsl -lsocket
LDFLAGS?=-L.
DYLIBSUFFIX=so