aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-07-15 08:27:19 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-15 08:27:19 -0700
commit59cbcac015cdd446c346cfd2c2ada3f94ef540b2 (patch)
tree1b4234c3a24793c07d71e96fc9bdf73288707c43 /elf
parentb0ecde3a63fd3e987137aa9eb76da3b556b14559 (diff)
downloadglibc-59cbcac015cdd446c346cfd2c2ada3f94ef540b2.zip
glibc-59cbcac015cdd446c346cfd2c2ada3f94ef540b2.tar.gz
glibc-59cbcac015cdd446c346cfd2c2ada3f94ef540b2.tar.bz2
Fix build issue with modules for audit test on machines != x86-64.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index e4b977e..21d131e 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -239,9 +239,6 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
$(modules-execstack-$(have-z-execstack)) \
tst-dlopenrpathmod tst-deep1mod1 tst-deep1mod2 tst-deep1mod3 \
tst-dlmopen1mod tst-auditmod1 \
- tst-auditmod3a tst-auditmod3b \
- tst-auditmod4a tst-auditmod4b \
- tst-auditmod5a tst-auditmod5b \
unload3mod1 unload3mod2 unload3mod3 unload3mod4 \
unload4mod1 unload4mod2 unload4mod3 unload4mod4 \
unload6mod1 unload6mod2 unload6mod3 \
@@ -255,6 +252,11 @@ endif
ifeq (yesyes,$(have-fpie)$(build-shared))
modules-names += tst-piemod1
endif
+ifeq (x86_64,$(config-machine))
+modules-names += tst-auditmod3a tst-auditmod3b \
+ tst-auditmod4a tst-auditmod4b \
+ tst-auditmod5a tst-auditmod5b
+endif
modules-execstack-yes = tst-execstack-mod
extra-test-objs += $(addsuffix .os,$(strip $(modules-names)))
# We need this variable to be sure the test modules get the right CPPFLAGS.