summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-13 17:07:17 +0200
committerErich Eckner <git@eckner.net>2019-04-13 17:07:17 +0200
commita9ed91347b74f57740da6f9e71d9c138de918007 (patch)
tree023cc79ce431be38966e039ea22d00576e05d860
parent420a1485c021bab5a9b7e76d9b40fefbe1f9c542 (diff)
downloadarchlinuxewe-a9ed91347b74f57740da6f9e71d9c138de918007.tar.xz
makepkg-pentium4.conf new
-rwxr-xr-xarchPackagesUpdate7
-rw-r--r--makepkg-pentium4.patch19
2 files changed, 25 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 15490877c..b88252226 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -502,7 +502,7 @@ if ${aufRechenknecht}; then
maxErr=0
-# generate current makepkg.conf and makepkg-i686.conf
+# generate current makepkg.conf, makepkg-i686.conf and makepkg-pentium4.conf
cd "${tmpDir}"
cp /etc/makepkg.conf .
if ! patch -p0 -i makepkgSystem.patch; then
@@ -515,6 +515,11 @@ if ${aufRechenknecht}; then
cleanUp
exit 1
fi
+ cp makepkg-{i686,pentium4}.conf
+ if ! patch -p0 -i makepkg-pentium4.patch; then
+ cleanUp
+ exit 1
+ fi
eval "$(
grep '^SRCDEST=' makepkg.conf
diff --git a/makepkg-pentium4.patch b/makepkg-pentium4.patch
new file mode 100644
index 000000000..ef949440f
--- /dev/null
+++ b/makepkg-pentium4.patch
@@ -0,0 +1,19 @@
+--- makepkg-pentium4.conf 2019-04-13 17:03:11.540419301 +0200
++++ makepkg-pentium4.conf 2019-04-13 17:04:45.040742728 +0200
+@@ -32,13 +32,13 @@
+ # ARCHITECTURE, COMPILE FLAGS
+ #########################################################################
+ #
+-CARCH="i686"
++CARCH="pentium4"
+ CHOST="i686-pc-linux-gnu"
+
+ #-- Compiler and Linker Flags
+ CPPFLAGS="-D_FORTIFY_SOURCE=2"
+-CFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe -fno-plt"
+-CXXFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe -fno-plt"
++CFLAGS="-m32 -march=pentium4 -mtune=generic -O2 -pipe -fno-plt"
++CXXFLAGS="-m32 -march=pentium4 -mtune=generic -O2 -pipe -fno-plt"
+ LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
+ #-- Make Flags: change this for DistCC/SMP systems
+ MAKEFLAGS="-j4"