]> git.ipfire.org Git - pakfire.git/commitdiff
ARM: Add -mthumb to CFLAGS of armv7hl.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Dec 2011 20:29:44 +0000 (21:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Dec 2011 20:29:44 +0000 (21:29 +0100)
macros/cflags.macro

index e9b8f08e5dc2c1c5ec26cc3de789fb9005fe0880..cdb9e115ee6545785bc1541b91a767389aaef959 100644 (file)
@@ -5,7 +5,7 @@ GLOBAL_CFLAGS   = -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4
 CFLAGS_i686     = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
 CFLAGS_x86_64   = -m64 -mtune=generic
 CFLAGS_armv5tel = -march=armv5te -mfloat-abi=soft
-CFLAGS_armv7hl  = -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard
+CFLAGS_armv7hl  = -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -mthumb
 
 export CFLAGS   = %{GLOBAL_CFLAGS} %{CFLAGS_%{DISTRO_ARCH}}
 export CXXFLAGS = %{CFLAGS}