From a9ed91347b74f57740da6f9e71d9c138de918007 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 13 Apr 2019 17:07:17 +0200 Subject: makepkg-pentium4.conf new --- archPackagesUpdate | 7 ++++++- makepkg-pentium4.patch | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 makepkg-pentium4.patch 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" -- cgit v1.2.3-70-g09d2