summaryrefslogtreecommitdiff
path: root/makepkg32.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-13 10:05:56 +0200
committerErich Eckner <git@eckner.net>2016-04-13 10:07:38 +0200
commite5666e4572f2273f8d3dd4443cf48566517a8f52 (patch)
tree429db8dbeb8f08b60aa3c93153e6e17b415d1c12 /makepkg32.patch
parentf074db5a8818fafc491f3c62238432d024e37bcb (diff)
downloadarchlinuxewe.git.save-e5666e4572f2273f8d3dd4443cf48566517a8f52.tar.xz
add cutsom makepkg.conf's
Diffstat (limited to 'makepkg32.patch')
-rw-r--r--makepkg32.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/makepkg32.patch b/makepkg32.patch
new file mode 100644
index 00000000..0581a409
--- /dev/null
+++ b/makepkg32.patch
@@ -0,0 +1,22 @@
+--- makepkg32.conf 2016-04-13 09:43:35.042178024 +0200
++++ makepkg32.conf 2016-04-13 09:44:16.263054427 +0200
+@@ -30,15 +30,15 @@
+ # ARCHITECTURE, COMPILE FLAGS
+ #########################################################################
+ #
+-CARCH="x86_64"
+-CHOST="x86_64-unknown-linux-gnu"
++CARCH="i686"
++CHOST="i686-unknown-linux-gnu"
+
+ #-- Compiler and Linker Flags
+ # -march (or -mcpu) builds exclusively for an architecture
+ # -mtune optimizes for an architecture, but builds for whole processor family
+ CPPFLAGS="-D_FORTIFY_SOURCE=2"
+-CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
+-CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
++CFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong"
++CXXFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong"
+ LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
+ #-- Make Flags: change this for DistCC/SMP systems
+ MAKEFLAGS="-j4"