Merge r267837 from ^/projects/release-debugdist:
When building world when WITH_DEBUG_FILES is set, avoid building ar(1) archives with '-g'. Tested on: head@r267801 Reviewed by: emaste, imp Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
30a13db0c5
commit
71b259d4f1
@ -45,7 +45,8 @@ STRIP?= -s
|
||||
|
||||
.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \
|
||||
empty(DEBUG_FLAGS:M-gdwarf*)
|
||||
CFLAGS+= -g
|
||||
SHARED_CFLAGS+= -g
|
||||
SHARED_CXXFLAGS+= -g
|
||||
CTFFLAGS+= -g
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user