comparison Makefile @ 55:dbed5f51d635

Thanks, Google!
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 22 May 2022 04:39:07 -0400
parents 76698158a01a
children 83b8fdb45d5e
comparison
equal deleted inserted replaced
54:76698158a01a 55:dbed5f51d635
1 CC_FLAGS=-Wall -O2 -fstack-protector -fdata-sections -ffunction-sections 1 CC_FLAGS=-Wall -O2 -fstack-protector -fdata-sections -ffunction-sections
2 LD_FLAGS= 2 LD_FLAGS=
3 3
4 ifeq ($(UNAME_S),Darwin) # macOS is the odd one... 4 ifeq ($(shell uname -s),Darwin) # macOS is the odd one...
5 LD_FLAGS+=-Wl,-dead_strip 5 LD_FLAGS+=-Wl,-dead_strip
6 else 6 else
7 LD_FLAGS+=-Wl,--gc-sections 7 LD_FLAGS+=-Wl,--gc-sections
8 endif 8 endif
9 9