Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-04-19 00:47:05 +0400
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-04-19 00:47:05 +0400
commit30bf23d22d033cd43da7aa957cb387a0ac789a2e (patch)
treeefe95459042316ef77e0a54b9234962ab3dfd502 /source
parentcf4d63c09d41a0edba65611a5a6abd21966c0656 (diff)
Add support for >2GiB files (as r28267) and some cleanups.
Diffstat (limited to 'source')
-rw-r--r--source/nan_compile.mk14
1 files changed, 7 insertions, 7 deletions
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