diff options
Diffstat (limited to 'makepkg.d/makepkg.armv6h.conf')
| -rw-r--r-- | makepkg.d/makepkg.armv6h.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/makepkg.d/makepkg.armv6h.conf b/makepkg.d/makepkg.armv6h.conf new file mode 100644 index 0000000..74e60a2 --- /dev/null +++ b/makepkg.d/makepkg.armv6h.conf @@ -0,0 +1,21 @@ +######################################################################### +# ARCHITECTURE, COMPILE FLAGS +######################################################################### +# +CARCH="armv6h" +CHOST="armv6l-unknown-linux-gnueabihf" + +#-- Compiler and Linker Flags +#CPPFLAGS="" +CFLAGS="-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \ + -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ + -fstack-clash-protection" +CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" +LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" +#RUSTFLAGS="-C opt-level=2" +#-- Make Flags: change this for DistCC/SMP systems +MAKEFLAGS="-j$(nproc)" +#-- Debugging flags +DEBUG_CFLAGS="-g -fvar-tracking-assignments" +DEBUG_CXXFLAGS="-g -fvar-tracking-assignments" +#DEBUG_RUSTFLAGS="-C debuginfo=2" |
