summaryrefslogtreecommitdiff
path: root/network/chromium/chromium.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/chromium/chromium.SlackBuild')
-rw-r--r--network/chromium/chromium.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/network/chromium/chromium.SlackBuild b/network/chromium/chromium.SlackBuild
index fe3b7f93e2..286e40dae2 100644
--- a/network/chromium/chromium.SlackBuild
+++ b/network/chromium/chromium.SlackBuild
@@ -29,10 +29,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chromium
-VERSION=${VERSION:-8.0.558.0}
+VERSION=${VERSION:-9.0.597.107}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -68,7 +69,7 @@ cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-chown -R root:root .
+chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
@@ -98,12 +99,16 @@ build/gyp_chromium -f make build/all.gyp --depth=. \
-Duse_system_ffmpeg=0 \
-Duse_system_yasm=1 \
-Duse_system_libevent=1 \
+ -Ddisable_sse2=${NO_SSE2:-0} \
-Duse_system_ssl=0
# Compiling...
-
+# ATTENTION ==> the "-fno-ipa-cp" flag is only needed if you intend to build chromium
+# on slackware(64)-current (or if you have gcc-4.5.x installed. On slackware(64)-13.1
+# it is not needed
+#
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fno-ipa-cp" \
make chrome chrome_sandbox BUILDTYPE=Release || exit 1
# Creating the package