You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
801 B
32 lines
801 B
3 years ago
|
openbsd_CFLAGS=-pipe
|
||
|
openbsd_CFLAGS_CXXFLAGS=$(openbsd_CFLAGS)
|
||
|
|
||
|
openbsd_CFLAGS_release_CFLAGS=-O2
|
||
|
openbsd_CFLAGS_release_CXXFLAGS=$(openbsd_release_CFLAGS)
|
||
|
|
||
|
openbsd_CFLAGS_debug_CFLAGS=-O1
|
||
|
openbsd_CFLAGS_debug_CXXFLAGS=$(openbsd_debug_CFLAGS)
|
||
|
|
||
|
ifeq (86,$(findstring 86,$(build_arch)))
|
||
|
i686_openbsd_CC=clang -m32
|
||
|
i686_openbsd_CXX=clang++ -m32
|
||
|
i686_openbsd_AR=ar
|
||
|
i686_openbsd_RANLIB=ranlib
|
||
|
i686_openbsd_NM=nm
|
||
|
i686_openbsd_STRIP=strip
|
||
|
|
||
|
x86_64_openbsd_CC=clang -m64
|
||
|
x86_64_openbsd_CXX=clang++ -m64
|
||
|
x86_64_openbsd_AR=ar
|
||
|
x86_64_openbsd_RANLIB=ranlib
|
||
|
x86_64_openbsd_NM=nm
|
||
|
x86_64_openbsd_STRIP=strip
|
||
|
else
|
||
|
i686_openbsd_CC=$(default_host_CC) -m32
|
||
|
i686_openbsd_CXX=$(default_host_CXX) -m32
|
||
|
x86_64_openbsd_CC=$(default_host_CC) -m64
|
||
|
x86_64_openbsd_CXX=$(default_host_CXX) -m64
|
||
|
endif
|
||
|
|
||
|
openbsd_cmake_system=OpenBSD
|