Skip to content
Permalink
Browse files Browse the repository at this point in the history
Inherrit CFLAGS in kaem makefile.
This fixes reproducibility issues on Debian, as it allows
-ffile-prefix-map or -fdebug-prefix-map to strip out the build path,
which otherwise gets embedded in the binaries.
  • Loading branch information
vagrantc committed May 26, 2020
1 parent 09b870c commit 37f3ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kaem/makefile
Expand Up @@ -21,7 +21,7 @@ VPATH = ../bin:test/results
all: kaem

CC=gcc
CFLAGS=-D_GNU_SOURCE -std=c99 -ggdb
CFLAGS:=$(CFLAGS) -D_GNU_SOURCE -std=c99 -ggdb

kaem: kaem.c
$(CC) $(CFLAGS) kaem.c variable.c ../functions/file_print.c ../functions/match.c ../functions/in_set.c ../functions/string.c ../functions/require.c ../functions/numerate_number.c -o ../bin/kaem
Expand Down

0 comments on commit 37f3ce4

Please sign in to comment.