flatten 20260225
This commit is contained in:
31
tjp/Make/Makefile.base.llvm
Executable file
31
tjp/Make/Makefile.base.llvm
Executable file
@@ -0,0 +1,31 @@
|
||||
###################################
|
||||
# License: Modified MIT (NON-AI)
|
||||
# Copyright 2025 Timothy Prepscius
|
||||
# See the LICENSE file in the root directory for license information.
|
||||
###################################
|
||||
|
||||
ifeq (LLVM,$(SYS_NAME))
|
||||
DEVELOPER := /Applications/Xcode.app/Contents/Developer
|
||||
DEVDIR := $(DEVELOPER)/Platforms/iPhoneOS.platform/Developer
|
||||
|
||||
AR := ar
|
||||
CC := clang
|
||||
CPP := clang++
|
||||
MM := clang
|
||||
M := clang
|
||||
LINK := clang
|
||||
CPPFLAGS += -stdlib=libc++
|
||||
MMFLAGS += -stdlib=libc++
|
||||
MFLAGS += -stdlib=libc++
|
||||
_FLAGS += -Wno-null-conversion -Wno-extra-tokens -Wno-int-to-void-pointer-cast -Wno-deprecated-register
|
||||
|
||||
_FLAGS += -Wno-import
|
||||
# _FLAGS += -Werror
|
||||
# _FLAGS += -arch armv6
|
||||
_FLAGS += -mthumb
|
||||
_FLAGS += -isysroot $(DEVELOPER)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
|
||||
_FLAGS += -miphoneos-version-min=11.0
|
||||
_FLAGS += -DSYS_LLVM
|
||||
|
||||
_FLAGS += -emit-llvm -target le32-unknown-nacl
|
||||
endif
|
||||
Reference in New Issue
Block a user