Skip to content

Commit

Permalink
Strip debug information from binaries
Browse files Browse the repository at this point in the history
Replaced objcopy parameter "-N FILE" with -g to strip all debug
information and not just the FILE label since not all compilers
use FILE to store source information. This should get rid of
all source references.
  • Loading branch information
tickelton committed Apr 18, 2019
1 parent 7f65e3e commit 5b67810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -12,7 +12,7 @@ CCFLAGS64 := $(CCFLAGS) -m64
# Build 64 bit binaries
%.64: %.c
$(CC) $(CCFLAGS64) $< -o $@
objcopy -N FILE $@
objcopy -g $@

# Determine all C programs in directory
SRCS = $(wildcard *.c)
Expand Down

0 comments on commit 5b67810

Please sign in to comment.