diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-04-28 17:05:10 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-04-29 00:30:42 +0200 |
commit | 3a3cbeecc113daf992de838a39569f6c81876dbe (patch) | |
tree | b51ab1145c2753b8f95acedc2dfd4cb35f281ea6 /Makefile.inc | |
parent | aa3ff58c3c3939b1fc6b31e9db279e7bb97e7020 (diff) |
Added first known issue regarding `static MyClass test;` ctor/dtor failure.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.inc b/Makefile.inc index 5d89f2c..153e84c 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -18,8 +18,8 @@ CMAKE = cmake CC = $(LOCAL_MINGW64_CC) CXX = $(dir $(CC))x86_64-w64-mingw32-g++ DDK_INCLUDE_DIR = $(dir $(CC))../x86_64-w64-mingw32/include/ddk -CFLAGS := -Wall -Wextra -m64 -fPIC \ - -ffunction-sections -fdata-sections \ +CFLAGS := -Wall -Wextra -m64 -fPIC -fvisibility=hidden \ + -ffunction-sections -fdata-sections -fno-builtin -ffreestanding \ -I$(DPP_ROOT) -I$(DDK_INCLUDE_DIR) \ -D__INTRINSIC_DEFINED_InterlockedBitTestAndSet \ -D__INTRINSIC_DEFINED_InterlockedBitTestAndReset @@ -41,7 +41,7 @@ DRIVER_LDFLAGS := -shared \ -Wl,--stack,0x100000 \ -Wl,--entry,DriverEntry \ -Wl,--gc-sections \ - -nostartfiles -nostdlib + -nostartfiles -nodefaultlibs -nostdlib DRIVER_LIBS := -lntoskrnl -lhal USER_LDFLAGS := -Wl,--dynamicbase -Wl,--nxcompat \ -Wl,--gc-sections |