VirtualBox

Changeset 73012 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jul 9, 2018 3:23:12 PM (6 years ago)
Author:
vboxsync
Message:

Linux kernel modules: make module test builds work with older kernels again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.include.footer

    r72817 r73012  
    4040# The -Wno-array-bounds is because of a bug in gcc 4.something, see
    4141# https://sourceware.org/bugzilla/show_bug.cgi?id=10001
    42  KFLAGS  += -DDEBUG -DDEBUG_$(subst $(subst _, ,_),_,$(USERNAME)) -DDEBUG_USERNAME=$(subst $(subst _, ,_),_,$(USERNAME)) -Werror -Wall -Wno-array-bounds
     42 KFLAGS  += -DDEBUG -DDEBUG_$(subst $(subst _, ,_),_,$(USERNAME)) -DDEBUG_USERNAME=$(subst $(subst _, ,_),_,$(USERNAME))
     43 ifeq ($(shell expr $(KERN_VER) : '[23]\.'),0)
     44  KFLAGS  += -Werror -Wall -Wno-array-bounds
     45 endif
    4346endif
    4447
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette