about summary refs log tree commit diff
path: root/sysdeps/generic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/Makefile')
-rw-r--r--sysdeps/generic/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/Makefile b/sysdeps/generic/Makefile
index f160dc8892..5e0f03abcc 100644
--- a/sysdeps/generic/Makefile
+++ b/sysdeps/generic/Makefile
@@ -32,8 +32,8 @@ common-generated := $(common-generated) bytesex.h det_endian
 endif
 
 ifeq ($(subdir),stdio-common)
-
-ifeq	"$(filter $(objpfx)siglist.c,$(before-compile))" ""
+ifneq ($(inhibit-siglist),yes)
+ifeq	"$(filter %siglist.c,$(before-compile))" ""
 before-compile := $(before-compile) $(objpfx)siglist.c
 $(objpfx)siglist.c: $(objpfx)make_siglist
 	@rm -f $@
@@ -49,5 +49,5 @@ $(objpfx)make_siglist: $(sysdep_dir)/generic/make_siglist.c
 
 generated := $(generated) make_siglist siglist.c
 endif
-
+endif
 endif