[PATCH] remove -mcpu=powerpc from cflags on powerpc
Sebastian Andrzej Siewior
bigeasy at linutronix.de
Thu Jun 17 17:10:58 UTC 2010
-mcpu=powerpc assumes certain powerpc and will create wrong code if the
default cpu is not compatible with with -mcpu=powerpc. This is the case
on softfloat toolchains for instance.
This patch removes the -mcpu= state from cflags and the default cpu will
be used.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
---
builds/posix/prefix.linux_powerpc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builds/posix/prefix.linux_powerpc b/builds/posix/prefix.linux_powerpc
index 8e16f38..085ed03 100644
--- a/builds/posix/prefix.linux_powerpc
+++ b/builds/posix/prefix.linux_powerpc
@@ -18,7 +18,7 @@
#
# 2 Oct 2002, Nickolay Samofatov - Major cleanup
-PROD_FLAGS=-ggdb -fno-omit-frame-pointer -fsigned-char -DNDEBUG -DLINUX -pipe -MMD -fPIC -fmessage-length=0 -DLINUX -DPowerPC -DPPC -O3 -mcpu=powerpc
+PROD_FLAGS=-ggdb -fno-omit-frame-pointer -fsigned-char -DNDEBUG -DLINUX -pipe -MMD -fPIC -fmessage-length=0 -DLINUX -DPowerPC -DPPC -O3
DEV_FLAGS=-ggdb -O0 -DVIO_DEBUG -DLINUX -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 -fsigned-char -DLINUX -DPowerPC -DPPC
#DEV_FLAGS=-DUSE_VALGRIND -ggdb -O0 -DLINUX -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 -DLINUX -DPowerPC -DPPC
--
1.6.6.1
--ikeVEW9yuYc//A+q--
More information about the pkg-firebird-general
mailing list