Add bitness definitions, and platform definitions

This commit is contained in:
NishiOwO
2025-02-08 22:14:32 +09:00
parent a1cfc095a7
commit 1006b6e216
4 changed files with 20 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ LDFLAGS+=
ifeq ($(shell uname),Linux)
LDFLAGS=-Wl,--gc-sections
else ifeq ($(shell uname),NetBSD)
LDFLAGS=-Wl,--gc-sections
else ifeq ($(OS),Windows_NT)
LDFLAGS=-Wl,--gc-sections
else ifeq ($(shell uname),Darwin)

View File

@@ -6,6 +6,8 @@ LDFLAGS+=
ifeq ($(shell uname),Linux)
LDFLAGS=-Wl,--gc-sections
else ifeq ($(shell uname),NetBSD)
LDFLAGS=-Wl,--gc-sections
else ifeq ($(OS),Windows_NT)
LDFLAGS=-Wl,--gc-sections
else ifeq ($(shell uname),Darwin)