Skip to content

Commit

Permalink
fixed #13066 - Makefile: need to use override when appending to var…
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave authored Sep 18, 2024
1 parent da85432 commit bfa2df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ifndef CPPFLAGS
endif

ifdef FILESDIR
CPPFLAGS+=-DFILESDIR=\"$(FILESDIR)\"
override CPPFLAGS+=-DFILESDIR=\"$(FILESDIR)\"
endif

RDYNAMIC=-rdynamic
Expand Down
2 changes: 1 addition & 1 deletion tools/dmake/dmake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ int main(int argc, char **argv)

// explicit files dir..
fout << "ifdef FILESDIR\n"
<< " CPPFLAGS+=-DFILESDIR=\\\"$(FILESDIR)\\\"\n"
<< " override CPPFLAGS+=-DFILESDIR=\\\"$(FILESDIR)\\\"\n"
<< "endif\n\n";

// enable backtrac
Expand Down

0 comments on commit bfa2df0

Please sign in to comment.