Skip to content

Commit

Permalink
Upgrade to -ffile from -fdebug for -prefix-map :D.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Nov 10, 2024
1 parent f8e0238 commit 6154dd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions env/target-any.mk
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,10 @@ cflags += -I@/extra
# -fdebug-compilation-dir .
# -no-canonical-prefixes

# with clang 10 we get access to -ffile-prefix-map
# XXX: I don't remember what this was actually for
qflags += -fdebug-prefix-map=./=
qflags += -ffile-prefix-map=./=
# XXX: I need to verify the lack of trailing slash
qflags += -fdebug-prefix-map=$(CURDIR)=.
qflags += -ffile-prefix-map=$(CURDIR)=.

rflags += --remap-path-prefix=$(CURDIR)/$(output)/cargo/=~/.cargo/

Expand Down

0 comments on commit 6154dd9

Please sign in to comment.