Skip to content

Commit

Permalink
Make.defaults: Use relative path to include dir.
Browse files Browse the repository at this point in the history
This allows for reproducible builds even when the build path differs
between two builds.

https://reproducible-builds.org/docs/build-path/
  • Loading branch information
vagrantc authored and Steve McIntyre committed Nov 4, 2023
1 parent 227435a commit c826fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Make.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ cflags = $(CFLAGS) $(ARCH3264) \
$(call enabled,ENABLE_LEAK_CHECKER,-Wno-analyzer-malloc-leak,) \
-Werror -Wno-error=cpp -Wno-free-nonheap-object \
-std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing \
-D_GNU_SOURCE -DCONFIG_$(ARCH) -I${TOPDIR}/include \
-D_GNU_SOURCE -DCONFIG_$(ARCH) -I../include \
'-DRUNDIR="$(rundir)"' \
$(if $(filter $(CC),clang),$(clang_cflags), ) \
$(if $(filter $(CC),gcc),$(gcc_cflags), ) \
Expand Down

0 comments on commit c826fd0

Please sign in to comment.