git » base-pkgbuilds.git » commit 268291a

makepkg conf updates

author Urja (ARMLFS builder)
2024-07-06 12:33:44 UTC
committer Urja (ARMLFS builder)
2024-07-06 12:33:44 UTC
parent 78ab7f5f0f88fb5b3fd5ab9248066b7e5ecf7e06

makepkg conf updates

base-makepkg.conf +3 -3
cross-makepkg.conf +1 -1

diff --git a/base-makepkg.conf b/base-makepkg.conf
index 5e6baba..a2688d3 100644
--- a/base-makepkg.conf
+++ b/base-makepkg.conf
@@ -38,10 +38,10 @@ CHOST="armv7l-unknown-linux-gnueabihf"
 
 #-- Compiler and Linker Flags
 #CPPFLAGS=""
-CFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mtune=cortex-a17 -O2 -pipe"
-CXXFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mtune=cortex-a17 -O2 -pipe"
+CFLAGS="-march=armv7ve -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a17 -O2 -pipe"
+CXXFLAGS="-march=armv7ve -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a17 -O2 -pipe -Wno-psabi"
 LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
-#RUSTFLAGS="-C opt-level=2"
+RUSTFLAGS="-C opt-level=2 -C target-cpu=cortex-a17"
 #-- Make Flags: change this for DistCC/SMP systems
 MAKEFLAGS="-j$(( $(nproc) + 1 ))"
 #-- Debugging flags
diff --git a/cross-makepkg.conf b/cross-makepkg.conf
index d9c6985..ff13082 100644
--- a/cross-makepkg.conf
+++ b/cross-makepkg.conf
@@ -40,7 +40,7 @@ CHOST="armv7l-unknown-linux-gnueabihf"
 #-- Compiler and Linker Flags
 #CPPFLAGS=""
 CFLAGS="-O2 -pipe"
-CXXFLAGS="-O2 -pipe"
+CXXFLAGS="-O2 -pipe -Wno-psabi"
 LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
 #RUSTFLAGS="-C opt-level=2"
 #-- Make Flags: change this for DistCC/SMP systems