Strip the source directory from file names
Use the GCC 8 -fmacro-prefix-map option to strip the source directory and change the __FILE__ macro into a relative path.
This commit is contained in:
parent
03c8e350dd
commit
ad297c1cc9
@ -188,6 +188,7 @@ AX_APPEND_COMPILE_FLAGS([ \
|
||||
-Wmissing-prototypes \
|
||||
-Wmissing-declarations \
|
||||
-Wno-unused-parameter \
|
||||
-fmacro-prefix-map='$(top_srcdir)/'= \
|
||||
])
|
||||
|
||||
# Windows specific compiler options.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user