summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 2b804b404..b7b4df385 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -272,6 +272,8 @@ ifeq ($(DOPIC),y)
CFLAGS += $(PICFLAG)
endif
+ASFLAGS = $(CFLAGS)
+
LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y)
LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name)
LIBGCC_DIR:=$(dir $(LIBGCC))