]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix build issue with modules for audit test on machines != x86-64.
authorUlrich Drepper <drepper@redhat.com>
Wed, 15 Jul 2009 15:27:19 +0000 (08:27 -0700)
committerUlrich Drepper <drepper@redhat.com>
Wed, 15 Jul 2009 15:27:19 +0000 (08:27 -0700)
ChangeLog
elf/Makefile

index e90d19fc7884a5f03e6c631153a5eda02ae8ea50..bece41b7a253720d2ee74a820d5ca6f5f5ec4735 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf/Makefile: Don't build modules for tst-audit4 and tst-audit5
+       for anything but x86-64 targets.
+
 2009-07-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config.h.in: Add HAVE_AVX_SUPPORT entry.
index e4b977e9e3dc2ed10d091101b6e18eae553cdc6f..21d131ec92351fb211f22f413c0efcfc3bf95431 100644 (file)
@@ -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.