blob: 4f046a25c022c6c53e7bdae2e16c54188e4f4dd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-general.make,v 1.1 2020/04/16 09:40:50 manu Exp $
Prevent -frecord-gcc-switches to be added, because pkgsrc
checks choke on the presence of working directory strings
inside the binaries.
--- general.make.orig 2020-04-15 09:51:06.284218723 +0200
+++ general.make 2020-04-15 09:51:25.863408691 +0200
@@ -22,6 +22,6 @@
# Ensure we store in the ELF files minimal debugging
# information plus the compiler flags used; that can
# be afterwards read with:
# readelf -p .GCC.command.line /path/to/elf_file
-ADDITIONAL_OBJCFLAGS += -g $(call cc-option,-frecord-gcc-switches)
+ADDITIONAL_OBJCFLAGS += -g $(call cc-option)
|