Skip to content

Commit da58899

Browse files
committed
Disable GCC plugins for external modules in auto.conf too
auto.conf was a copy of .config before (which made GCC plugins disabled), but since it isn't the case anymore, GCC plugins need to be disabled separately. Fixes: d5fbc9f "Do not override include/config/auto.conf with .config" QubesOS/qubes-issues#7991
1 parent ebea223 commit da58899

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel.spec.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ sed -e 's/^\(CONFIG_GCC_PLUGIN.*\)=y/# \1 is not set/' .config > \
416416
%buildroot/lib/modules/%kernelrelease/build/.config
417417
sed -e '/^#define CONFIG_GCC_PLUGIN/d' include/generated/autoconf.h > \
418418
%buildroot/lib/modules/%kernelrelease/build/include/generated/autoconf.h
419+
sed -e '/^CONFIG_GCC_PLUGIN/d' include/config/auto.conf > \
420+
%buildroot/lib/modules/%kernelrelease/build/include/config/auto.conf
419421

420422
# Make sure the Makefile and version.h have a matching timestamp so that
421423
# external modules can be built

0 commit comments

Comments
 (0)