mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
debian: Add hack to fix default cfi_blacklist.txt
This commit is contained in:
@@ -15,6 +15,13 @@ export NM=llvm-nm-7
|
||||
export CC=clang-7
|
||||
export CXX=clang++-7
|
||||
|
||||
# hack to allow clang to find the default cfi_blacklist.txt
|
||||
export CXXFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
export CPPFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
export CFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
# more verbose linker output
|
||||
export LDFLAGS+=-Wl,--stats
|
||||
|
||||
|
||||
@@ -15,6 +15,13 @@ export NM=llvm-nm-7
|
||||
export CC=clang-7
|
||||
export CXX=clang++-7
|
||||
|
||||
# hack to allow clang to find the default cfi_blacklist.txt
|
||||
export CXXFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
export CPPFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
export CFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
# more verbose linker output
|
||||
export LDFLAGS+=-Wl,--stats
|
||||
|
||||
|
||||
@@ -15,6 +15,13 @@ export NM=llvm-nm-7
|
||||
export CC=clang-7
|
||||
export CXX=clang++-7
|
||||
|
||||
# hack to allow clang to find the default cfi_blacklist.txt
|
||||
export CXXFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
export CPPFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
export CFLAGS+=-resource-dir=$(shell clang-7 --print-resource-dir) \
|
||||
|
||||
# more verbose linker output
|
||||
export LDFLAGS+=-Wl,--stats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user