2018-03-18 16:01:56 -06:00
|
|
|
linux_CFLAGS=-pipe
|
|
|
|
linux_CXXFLAGS=$(linux_CFLAGS)
|
2019-11-13 06:50:17 -07:00
|
|
|
linux_ARFLAGS=cr
|
2018-03-18 16:01:56 -06:00
|
|
|
|
|
|
|
linux_release_CFLAGS=-O2
|
|
|
|
linux_release_CXXFLAGS=$(linux_release_CFLAGS)
|
|
|
|
|
|
|
|
linux_debug_CFLAGS=-O1
|
|
|
|
linux_debug_CXXFLAGS=$(linux_debug_CFLAGS)
|
|
|
|
|
|
|
|
linux_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
|
|
|
|
|
|
|
|
ifeq (86,$(findstring 86,$(build_arch)))
|
|
|
|
i686_linux_CC=gcc -m32
|
|
|
|
i686_linux_CXX=g++ -m32
|
|
|
|
i686_linux_AR=ar
|
|
|
|
i686_linux_RANLIB=ranlib
|
|
|
|
i686_linux_NM=nm
|
|
|
|
i686_linux_STRIP=strip
|
|
|
|
|
|
|
|
x86_64_linux_CC=gcc -m64
|
|
|
|
x86_64_linux_CXX=g++ -m64
|
|
|
|
x86_64_linux_AR=ar
|
|
|
|
x86_64_linux_RANLIB=ranlib
|
|
|
|
x86_64_linux_NM=nm
|
|
|
|
x86_64_linux_STRIP=strip
|
|
|
|
else
|
|
|
|
i686_linux_CC=$(default_host_CC) -m32
|
|
|
|
i686_linux_CXX=$(default_host_CXX) -m32
|
|
|
|
x86_64_linux_CC=$(default_host_CC) -m64
|
|
|
|
x86_64_linux_CXX=$(default_host_CXX) -m64
|
|
|
|
endif
|
2023-09-26 08:37:29 -06:00
|
|
|
|
|
|
|
linux_cmake_system=Linux
|