Commit 2d1a478c authored by nagayama15's avatar nagayama15

リンクエラーと警告を解決

parent 5cd32e7f
...@@ -8,7 +8,8 @@ CXXFLAGS := \ ...@@ -8,7 +8,8 @@ CXXFLAGS := \
-Wextra \ -Wextra \
-pedantic \ -pedantic \
-Werror \ -Werror \
${LLVM_INCLUDE_DIRS:%=-I%} ${LLVM_INCLUDE_DIRS:%=-I%} \
-fPIC
LDFLAGS := \ LDFLAGS := \
$(shell llvm-config-6.0 --ldflags) \ $(shell llvm-config-6.0 --ldflags) \
...@@ -38,4 +39,4 @@ test_pass: test/Test.o ...@@ -38,4 +39,4 @@ test_pass: test/Test.o
${CXX} ${CXXFLAGS} -shared -o $@ $^ ${LDFLAGS} ${CXX} ${CXXFLAGS} -shared -o $@ $^ ${LDFLAGS}
clean: clean:
${RM} *.so test_pass src/*/*.o test/*.o ${RM} *.so test_pass src/*/*.o src/*/*/*.o test/*.o
...@@ -53,7 +53,7 @@ namespace ...@@ -53,7 +53,7 @@ namespace
* *
* @return ? * @return ?
*/ */
bool doFinalization(llvm::Module& module) override bool doFinalization([[maybe_unused]] llvm::Module& module) override
{ {
module_name_.clear(); module_name_.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment