xbps-src: introduce build profiles and use it by default.
common/build-profiles contains the compilation flags used in native builds, and are defined per architecture: - x86_64 (glibc) - x86_64-musl (musl) If XBPS_CFLAGS or XBPS_CXXFLAGS are set in `etc/conf`, the settings from the build profile will be overrided.
This commit is contained in:
2
common/build-profiles/x86_64-musl.sh
Normal file
2
common/build-profiles/x86_64-musl.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
XBPS_CFLAGS="-O2 -pipe -fstack-protector"
|
||||
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||
Reference in New Issue
Block a user