use g++-x86 for 32-bits platform

This commit is contained in:
orignal 2025-03-30 13:28:45 -04:00
parent 567183647e
commit 00920a049d

View file

@ -1,4 +1,8 @@
ifeq ($(shell $(CXX) -dumpmachine | cut -c 1-4), i586)
CXX = g++-x86
else
CXX = g++ CXX = g++
endif
CXXFLAGS := -Wall -std=c++20 CXXFLAGS := -Wall -std=c++20
INCFLAGS = -I/system/develop/headers INCFLAGS = -I/system/develop/headers
DEFINES = -D_DEFAULT_SOURCE -D_GNU_SOURCE DEFINES = -D_DEFAULT_SOURCE -D_GNU_SOURCE