ARCv2: Allow older gcc to cope with new regime of ARCv2/ARCompact support
authorVineet Gupta <vgupta@synopsys.com>
Sat, 27 Jun 2015 11:26:41 +0000 (16:56 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sun, 28 Jun 2015 14:17:22 +0000 (19:47 +0530)
-no-ll64 is specific to ARCv2 ISA, and is obviously not supported by
older ARC gcc - in this case the one hosted by linux-next sanity build
service.

Ensure that it doesn't get included for ISA_ARCOMPACT

Reported-by: Guenter Roeck <private@roeck-us.net>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Makefile

index bf68dc5a08be66e97c818514f4d71e390b790cb4..e608e0759090102310b08b11c1faeeb645b71b12 100644 (file)
@@ -37,7 +37,7 @@ cflags-$(CONFIG_ARC_HAS_LLSC)         += -mlock
 cflags-$(CONFIG_ARC_HAS_SWAPE)         += -mswape
 
 ifndef CONFIG_ARC_HAS_LL64
-cflags-y                               += -mno-ll64
+cflags-$(CONFIG_ISA_ARCV2)             += -mno-ll64
 endif
 
 cflags-$(CONFIG_ARC_DW2_UNWIND)                += -fasynchronous-unwind-tables
This page took 0.024743 seconds and 5 git commands to generate.