---
Does this patch fix the problem? By eyeball I can tell that it's not
going to affect x86 so that at least gives me some measure of
confidence it won't break things for users who currently have working
systems. (how in the world did I overlook the 'ifeq RTARCH' stanza last
time around? I must not have been looking very hard!)
Jeff
src/Makefile | 2 +-
src/Makefile.modinc.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index a94197c..10105d5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -624,7 +624,7 @@ EXTRA_CFLAGS = $(filter-out -ffast-math,$(RTFLAGS))
-D__MODULE__ -I$(BASEPWD) -I
-fno-fast-math $(call cc-option,-mieee-fp)
-fno-unsafe-math-optimizations \
$(call cc-option,-Wframe-larger-than=2560)
ifeq ($(RTARCH),x86_64)
-EXTRA_CFLAGS += -msse
+EXTRA_CFLAGS += -msse -ffast-math -funsafe-math-optimizations
endif
ifeq "$(USE_STUBS)" "1"
diff --git a/src/Makefile.modinc.in b/src/Makefile.modinc.in
index 3ad58f0..0944c57 100644
--- a/src/Makefile.modinc.in
+++ b/src/Makefile.modinc.in
@@ -42,7 +42,7 @@ CC := @CC@
RTFLAGS = $(filter-out -ffast-math,@RTFLAGS@ @EXT_RTFLAGS@) -fno-fast-math
$(call cc-option,-mieee-fp) -fno-unsafe-math-optimizations
RTFLAGS := -Os -g -I. -I@RTDIR@/include $(RTFLAGS) -DRTAPI -D_GNU_SOURCE
-Drealtime -D_FORTIFY_SOURCE=0
ifeq ($(RTARCH),x86_64)
-EXTRA_CFLAGS += -msse
+EXTRA_CFLAGS += -msse -ffast-math -funsafe-math-optimizations
endif
USE_RTLIBM = @USE_RTLIBM@
EMC2_HOME=@EMC2_HOME@
--
1.7.1
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers