File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,9 @@ define SET_DEFAULT_FLAGS
127
127
else
128
128
TOOLCHAIN := LLVM
129
129
TOOLCHAINV := $$(shell ${CXX} -dumpversion)
130
- CFLAGS := -pthread -fopenmp -fPIC -std=c17 ${1}
131
- CXXFLAGS := -pthread -fopenmp -fPIC -std=c++20 ${1}
132
- LDFLAGS := -pthread -fopenmp ${2} -lm
130
+ CFLAGS := -DBOOST_NO_CXX98_FUNCTION_BASE - pthread -fopenmp -fPIC -std=c17 ${1}
131
+ CXXFLAGS := -DBOOST_NO_CXX98_FUNCTION_BASE - pthread -fopenmp -fPIC -std=c++20 ${1}
132
+ LDFLAGS := -DBOOST_NO_CXX98_FUNCTION_BASE - pthread -fopenmp ${2} -lm
133
133
endif
134
134
135
135
# Build up our preferred set of flags.
Original file line number Diff line number Diff line change @@ -160,11 +160,18 @@ endef
160
160
define ADD_FILE_COPY_RULE
161
161
doall: $${TARGET_DIR}/$2
162
162
ifeq ($3,executable)
163
+ ifeq ($(suffix $(1 ) ) ,.sh)
163
164
$${TARGET_DIR}/$2: $1
164
165
@mkdir -p $$(dir $${TARGET_DIR}/$2)
165
166
cat $1 |sed s/'version=""'/'version="$(VERSION ) "'/g > $${TARGET_DIR}/$2
166
167
chmod +x $${TARGET_DIR}/$2
167
168
else
169
+ $${TARGET_DIR}/$2: $1
170
+ @mkdir -p $$(dir $${TARGET_DIR}/$2)
171
+ cp $1 $${TARGET_DIR}/$2
172
+ chmod +x $${TARGET_DIR}/$2
173
+ endif
174
+ else
168
175
$${TARGET_DIR}/$2: $1
169
176
@mkdir -p $$(dir $${TARGET_DIR}/$2)
170
177
cp -pf $1 $${TARGET_DIR}/$2
You can’t perform that action at this time.
0 commit comments