From 30bf23d22d033cd43da7aa957cb387a0ac789a2e Mon Sep 17 00:00:00 2001 From: "Guillermo S. Romero" Date: Sun, 18 Apr 2010 20:47:05 +0000 Subject: Add support for >2GiB files (as r28267) and some cleanups. --- source/nan_compile.mk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source') diff --git a/source/nan_compile.mk b/source/nan_compile.mk index c8501587e00..3382f0bea37 100644 --- a/source/nan_compile.mk +++ b/source/nan_compile.mk @@ -82,10 +82,10 @@ ifeq ($(OS),darwin) endif endif ifeq ($(CPU),powerpc) - CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing - CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing + CFLAGS += -pipe -fPIC -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing + CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing else - CFLAGS += -pipe -fPIC -ffast-math -funsigned-char + CFLAGS += -pipe -fPIC -funsigned-char CCFLAGS += -pipe -fPIC -funsigned-char endif @@ -100,7 +100,7 @@ ifeq ($(OS),darwin) REL_CFLAGS += -O2 REL_CCFLAGS += -O2 endif - + CPPFLAGS += -D_THREAD_SAFE -fpascal-strings ifeq ($(WITH_COCOA), true) @@ -172,8 +172,8 @@ ifeq ($(OS),linux) CCC ?= g++ # CFLAGS += -pipe # CCFLAGS += -pipe - CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing - CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing + CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 REL_CFLAGS += -O2 REL_CCFLAGS += -O2 NAN_DEPEND = true @@ -212,7 +212,7 @@ ifeq ($(OS),solaris) #CC ?= cc #CCC ?= CC endif - + JAVAC = javac JAVAH = javah CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -- cgit v1.2.3