Merge pull request #504 from yaoweibin/march_i686

fixed the dynamic link problem with tengine in i686 box.
This commit is contained in:
Jeff Kaufman
2013-09-10 08:16:31 -07:00
+7 -1
View File
@@ -83,9 +83,15 @@ else
buildtype=Release
fi
# The compiler needs to know that __sync_add_and_fetch_4 is ok,
# and this requires an instruction that didn't exist on i586 or i386.
if [ "$uname_arch" = "i686" ]; then
$FLAG_MARCH='march=i686'
fi
# Building with HTTPS fetching enabled pulls in a version of OpenSSL that causes
# linker errors, so disable it here.
CFLAGS="$CFLAGS -DSERF_HTTPS_FETCHING=0"
CFLAGS="$CFLAGS -DSERF_HTTPS_FETCHING=0 $FLAG_MARCH"
pagespeed_include="\
$mod_pagespeed_dir \