Filter out -mapcs-32, it's not universally supported
[madwifi/.git] / Makefile.inc
index 9a911b3d9a8da2acc1a94668c3a2141d9ef2754d..4dadc3ef131d02570d91cbf43ff502a443098942 100644 (file)
@@ -193,7 +193,7 @@ LDFLAGS += $(LDOPTS)
 # Filter out compiler options that are not supported by all compilers
 # and that are not needed to ensure compatible architecture and calling
 # conventions.
-COPTS := $(filter-out -mshort-load-bytes,$(COPTS))
+COPTS := $(filter-out -mshort-load-bytes -mapcs-32,$(COPTS))
 
 
 # The following variables will affect developers only, and are used in the