VirtualBox

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


Ignore:
Timestamp:
Jan 8, 2019 4:15:38 PM (6 years ago)
Author:
vboxsync
Message:

Do not use pragma once when building Linux kernel modules.
bugref:4567: Linux kernel driver maintenance
CentOS 3 does not like this pragma, and it is intended for building non-driver
code anyway.

File:
1 edited

Legend:

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

    r76553 r76712  
    3636 export INCL
    3737endif
    38 KFLAGS   := -D__KERNEL__ -DMODULE $(MOD_DEFS)
     38KFLAGS   := -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE $(MOD_DEFS)
    3939ifeq ($(BUILD_TYPE),debug)
    4040# The -Wno-array-bounds is because of a bug in gcc 4.something, see
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