Skip to content

Commit

Permalink
Makefile: add debug flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonin Reitz committed Oct 19, 2023
1 parent 29c4ebc commit 274ece0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ src/lib-alloc.c
# foptimize-strlen = gcc issue culprit
lib: verify extract
mkdir -p out
$(CC) -O3 \
$(CC) -O3 -g \
-DKRML_VERIFIED_UINT128 \
-I $(KRML_HOME)/include \
-I $(KRML_LIB)/dist/minimal -I dist \
Expand All @@ -191,7 +191,7 @@ src/lib-alloc.c \
hardened_lib: verify extract
mkdir -p out
$(CC) -DKRML_VERIFIED_UINT128 \
-pipe -O3 -flto -fPIC \
-pipe -O3 -g -flto -fPIC \
-fno-plt -fstack-clash-protection -fcf-protection -fstack-protector-strong \
-I $(KRML_HOME)/include \
-I $(KRML_LIB)/dist/minimal -I dist \
Expand Down

0 comments on commit 274ece0

Please sign in to comment.