about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-12 13:57:32 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-12 13:57:32 -0800
commit96a157490c8db4c3be4495c4f9c0ca9ecaf5ae7c (patch)
treeeb87e00fb53763b95b6f2d89f2b50c285df88183 /Makeconfig
parent04f5a636b6ac79677967d901a956f336a7ccfee3 (diff)
downloadglibc-96a157490c8db4c3be4495c4f9c0ca9ecaf5ae7c.tar.gz
glibc-96a157490c8db4c3be4495c4f9c0ca9ecaf5ae7c.tar.xz
glibc-96a157490c8db4c3be4495c4f9c0ca9ecaf5ae7c.zip
Use -Werror=undef for assembly code.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 1e03481b9d..509b5bd3df 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -948,7 +948,7 @@ endif
 ifndef ASFLAGS
 ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
 endif
-ASFLAGS += $(ASFLAGS-config) $(asflags-cpu)
+ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu)
 
 ifndef BUILD_CC
 BUILD_CC = $(CC)