Commit 2d1a478c authored by nagayama15's avatar nagayama15

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

parent 5cd32e7f
......@@ -8,7 +8,8 @@ CXXFLAGS := \
-Wextra \
-pedantic \
-Werror \
${LLVM_INCLUDE_DIRS:%=-I%}
${LLVM_INCLUDE_DIRS:%=-I%} \
-fPIC
LDFLAGS := \
$(shell llvm-config-6.0 --ldflags) \
......@@ -38,4 +39,4 @@ test_pass: test/Test.o
${CXX} ${CXXFLAGS} -shared -o $@ $^ ${LDFLAGS}
clean:
${RM} *.so test_pass src/*/*.o test/*.o
${RM} *.so test_pass src/*/*.o src/*/*/*.o test/*.o
......@@ -53,7 +53,7 @@ namespace
*
* @return ?
*/
bool doFinalization(llvm::Module& module) override
bool doFinalization([[maybe_unused]] llvm::Module& module) override
{
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