From: Jose V Beneyto Date: Wed, 10 Oct 2012 20:13:48 +0000 (+0000) Subject: Added fix to CFLAGS for alignment exception issues with some kernels and gcc-4.7 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=28824ddcb4e8486ebaa289df39645b667b5615b9;p=pkgutils-cross.git Added fix to CFLAGS for alignment exception issues with some kernels and gcc-4.7 --- diff --git a/src/pkgmk.conf b/src/pkgmk.conf index fc47676..d0b4af6 100644 --- a/src/pkgmk.conf +++ b/src/pkgmk.conf @@ -27,7 +27,7 @@ export RANLIB="$CTARGET-ranlib" export LD="$CTARGET-ld" export STRIP="$CTARGET-strip" -export CFLAGS="-O2 -pipe" +export CFLAGS="-O2 -pipe -mno-unaligned-access" export CXXFLAGS="$CFLAGS" #arm9tdmi_CFLAGS="-O2 -pipe -march=armv4 -mtune=arm9tdmi"