summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index 2501789440..d004e07acc 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -490,6 +490,9 @@ object-suffixes += .so
 CPPFLAGS-.so = -DPIC
 CFLAGS-.so = -fPIC -fno-common
 libtype.so := lib%_pic.a
+ifndef ASFLAGS-.so
+ASFLAGS-.so =
+endif
 endif
 ifeq (yes,$(build-profile))
 # Under --enable-profile, we will build a static library of profiled objects.
@@ -498,6 +501,9 @@ object-suffixes += .po
 CPPFLAGS-.po = -DPROF
 CFLAGS-.po = -pg
 libtype.po = lib%_p.a
+ifndef ASFLAGS-.po
+ASFLAGS-.po =
+endif
 endif
 ifeq (yes,$(build-omitfp))
 # Under --enable-omitfp, we build an the library optimized without
@@ -508,6 +514,9 @@ CFLAGS-.go = -g
 CFLAGS-.o = -g0 -O99 -fomit-frame-pointer
 CFLAGS-.so += $(CFLAGS-.o)
 libtype.go = lib%_g.a
+ifndef ASFLAGS-.go
+ASFLAGS-.go =
+endif
 endif
 ifeq (yes,$(build-bounded))
 # Under --enable-bounded, we build the library with `-fbounded-pointers -g'
@@ -516,6 +525,9 @@ object-suffixes += .bo
 CPPFLAGS-.bo = -DBOUNDED_POINTERS
 CFLAGS-.bo = -g -fbounded-pointers
 libtype.bo = lib%_b.a
+ifndef ASFLAGS-.bo
+ASFLAGS-.bo =
+endif
 endif