CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added fix to CFLAGS for alignment exception issues with some kernels and gcc-4.7
authorJose V Beneyto <sepen@crux.nu>
Wed, 10 Oct 2012 20:13:48 +0000 (20:13 +0000)
committerJose V Beneyto <sepen@crux.nu>
Wed, 10 Oct 2012 20:13:48 +0000 (20:13 +0000)
src/pkgmk.conf

index fc476762ea71c1c33eace9dff590fec70b862089..d0b4af6d7064a15820591769fed782844865b7be 100644 (file)
@@ -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"