Browse code

set EF_ALIGNMENT=8 for non-x86 platforms. (bb #1385)

git-svn: trunk@5063

Török Edvin authored on 2009/05/06 16:56:41
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Wed May  6 10:55:25 EEST 2009 (edwin)
2
+-------------------------------------
3
+ * unit_tests/efence_tests.sh: set EF_ALIGNMENT=8 for non-x86
4
+ platforms.
5
+
1 6
 Wed May  6 10:45:55 EEST 2009 (edwin)
2 7
 -------------------------------------
3 8
  * configure, configure.in: Fix Solaris memory usage: don't link with
... ...
@@ -11,6 +11,9 @@ if test -z "$LIBEFENCE"; then
11 11
 fi
12 12
 test -f "$LIBEFENCE" || { echo "*** electric-fence not found, skipping test"; exit 77;}
13 13
 
14
+# use the default EF_ALIGNMENT only for x86/x86_64, and set it to 8 for other
15
+# platforms. ia64 needs this for example.
16
+(../libtool --config | grep host=x86) || { EF_ALIGNMENT=8; export EF_ALIGNMENT; }
14 17
 EF_DISABLE_BANNER=1
15 18
 EF_FREE_WIPES=1
16 19
 LIBPRELOAD="$LIBEFENCE"