Makefile 251 Bytes
CXX_SOURCES := main.cpp
LD_EXTRAS := -Wl,--build-id=none

all: stripped.out

stripped.out : a.out
	$(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug $< $@

clean::
	$(RM) stripped.out

include Makefile.rules