diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-05-03 16:24:08 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-05-03 16:24:08 +0200 |
commit | fa08223a332b825895e820a2b1d1c3418f358b18 (patch) | |
tree | be53b1fd1464ebd7a75977ace9451883b2b400eb | |
parent | 8d09a50a044638fde2ed3e1a1c4d3c7c5a3cce5c (diff) |
buildsys: prettify ssp.c handling
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | libc/sysdeps/linux/common/Makefile.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index c0949cf88..8811268d0 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -14,10 +14,7 @@ CSRC- := ssp-local.c CSRC_LFS := $(notdir $(wildcard $(COMMON_DIR)/*64.c)) CSRC-y := $(filter-out llseek.c $(CSRC_LFS),$(CSRC-y)) CSRC-$(UCLIBC_HAS_LFS) += llseek.c $(CSRC_LFS) - -ifneq ($(UCLIBC_HAS_SSP)$(UCLIBC_HAS_FORTIFY),) -CSRC-y += ssp.c -endif +CSRC-$(findstring y,$(UCLIBC_HAS_SSP)$(UCLIBC_HAS_FORTIFY)) += ssp.c CSRC-$(UCLIBC_LINUX_MODULE_24) += create_module.c query_module.c \ get_kernel_syms.c # we need these internally: fstatfs.c statfs.c |