diff options
author | Joan Figueras | 2021-07-09 00:25:24 +0200 |
---|---|---|
committer | Joan Figueras | 2021-07-09 00:25:24 +0200 |
commit | 0a46ec42d34123cc034f8d31163ce3aa8dc6260f (patch) | |
tree | 86af6e8bcc67122325fc8cbb78c9d3cd439b9916 /PKGBUILD | |
parent | f1fc8946880f2471344ddb5d3ac22198af4011d6 (diff) | |
download | aur-0a46ec42d34123cc034f8d31163ce3aa8dc6260f.tar.gz |
Fixed build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -8,7 +8,7 @@ ## ## The following variables can be customized at build time. Use env or export to change at your wish ## -## Example: env _microarchitecture=99 use_numa=n use_tracers=n use_pds=n makepkg -sc +## Example: env _microarchitecture=98 use_numa=n use_tracers=n makepkg -sc ## ## Look inside 'choose-gcc-optimization.sh' to choose your microarchitecture ## Valid numbers between: 0 to 99 @@ -34,6 +34,11 @@ if [ -z ${use_tracers+x} ]; then use_tracers=y fi +## GCC is the unique compiler supported +if [ -z ${_compiler+x} ]; then + _compiler=gcc +fi + # Compile ONLY used modules to VASTLY reduce the number of modules built # and the build time. # @@ -114,6 +119,9 @@ prepare() { patch -Np1 < "../$src" done + # Applying configuration + cp -vf CONFIGS/xanmod/${_compiler}/config .config + # CONFIG_STACK_VALIDATION gives better stack traces. Also is enabled in all official kernel packages by Archlinux team scripts/config --enable CONFIG_STACK_VALIDATION |