2023-07-02 15:00:24 -04:00
|
|
|
clang_prog=$(shell $(SHELL) $(.SHELLFLAGS) "command -v clang")
|
|
|
|
clangxx_prog=$(shell $(SHELL) $(.SHELLFLAGS) "command -v clang++")
|
|
|
|
|
|
|
|
freebsd_CC=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
|
|
|
|
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
|
|
|
|
-u LIBRARY_PATH $(clang_prog) --target=$(host) --sysroot=$(host_prefix)/native -iwithsysroot/usr/include
|
|
|
|
freebsd_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
|
|
|
|
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
|
|
|
|
-u LIBRARY_PATH $(clangxx_prog) --target=$(host) -stdlib=libc++ --sysroot=$(host_prefix)/native \
|
|
|
|
-iwithsysroot/usr/include/c++/v1 -iwithsysroot/usr/include
|
|
|
|
|
2019-11-11 03:34:47 -05:00
|
|
|
freebsd_AR=ar
|
|
|
|
freebsd_RANLIB=ranlib
|
|
|
|
freebsd_NM=nm
|
|
|
|
|
|
|
|
freebsd_CFLAGS=-pipe
|
|
|
|
freebsd_CXXFLAGS=$(freebsd_CFLAGS)
|
2019-11-13 08:50:17 -05:00
|
|
|
freebsd_ARFLAGS=cr
|
2019-11-11 03:34:47 -05:00
|
|
|
|
|
|
|
freebsd_release_CFLAGS=-O2
|
|
|
|
freebsd_release_CXXFLAGS=$(freebsd_release_CFLAGS)
|
|
|
|
|
|
|
|
freebsd_debug_CFLAGS=-g -O0
|
|
|
|
freebsd_debug_CXXFLAGS=$(freebsd_debug_CFLAGS)
|
|
|
|
|
|
|
|
freebsd_native_toolchain=freebsd_base
|
|
|
|
|
2023-09-26 10:37:29 -04:00
|
|
|
freebsd_cmake_system=FreeBSD
|