changeset 55:dbed5f51d635

Thanks, Google!
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 22 May 2022 04:39:07 -0400
parents 76698158a01a
children 0d62f49c1948
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun May 22 04:33:17 2022 -0400
+++ b/Makefile	Sun May 22 04:39:07 2022 -0400
@@ -1,7 +1,7 @@
 CC_FLAGS=-Wall -O2 -fstack-protector -fdata-sections -ffunction-sections
 LD_FLAGS=
 
-ifeq ($(UNAME_S),Darwin)  # macOS is the odd one...
+ifeq ($(shell uname -s),Darwin)  # macOS is the odd one...
 	LD_FLAGS+=-Wl,-dead_strip
 else
 	LD_FLAGS+=-Wl,--gc-sections