Files
Daniel Sanders e903494967 [lldb] Fix TestVTableValue.py test_overwrite_vtable test (#164910)
Some machines have read-only vtables but this test expects to overwrite
them. Use -no_data_const to ensure the vtable is writable
2025-10-27 10:25:58 -07:00

10 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