Skip to content

Commit

Permalink
Makefile: adapt warnings
Browse files Browse the repository at this point in the history
latest clang currently failing with -Werror
  • Loading branch information
Antonin Reitz committed Oct 12, 2023
1 parent 4275b6d commit 8f1496e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ lib: verify extract
-I $(KRML_LIB)/dist/minimal -I dist \
-I $(STEEL_HOME)/include/steel \
-pthread -lpthread \
-Wno-c2x-extensions \
-std=gnu11 \
-shared -fPIC \
$(FILES) \
Expand All @@ -196,7 +197,7 @@ hardened_lib: verify extract
-I $(KRML_LIB)/dist/minimal -I dist \
-I $(STEEL_HOME)/include/steel \
-pthread -lpthread \
-Wwrite-strings -Wno-c++17-extensions -Werror -march=native \
-Wwrite-strings -Wno-c2x-extensions -march=native \
-Wl,-O1,--as-needed,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text \
-shared -fPIC \
$(FILES) \
Expand Down

0 comments on commit 8f1496e

Please sign in to comment.