mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-27 11:25:31 +00:00
Some machines have read-only vtables but this test expects to overwrite them. Use -no_data_const to ensure the vtable is writable
9 lines
253 B
Makefile
9 lines
253 B
Makefile
CXX_SOURCES := main.cpp
|
|
|
|
ifeq "$(OS)" "Darwin"
|
|
# Make vtables writable for test_overwrite_vtable test
|
|
# The -no_data_const flag prevents vtables from being placed in __DATA_CONST
|
|
LD_EXTRAS := -Wl,-no_data_const
|
|
endif
|
|
|
|
include Makefile.rules
|