Open
Description
Eugene recently noticed that pxCore ignores environment compilation flags.
Here is a quote from the makefile:
CXXFLAGS=-Wall -Wextra -g
$(SEARCH) -DRT_PLATFORM_LINUX -D$ (PX_PLATFORM) -DENABLE_RT_NODECXXFLAGS2=-fPIC -Wall -Wextra -g
$(SEARCH) -DRT_PLATFORM_LINUX -D$ (PX_PLATFORM) -DENABLE_RT_NODE -DRUNINMAINifdef PXVERSION
CXXFLAGS=$(CXXFLAGS2) -DPX_SCENE_VERSION=$(PXVERSION)
else
CXXFLAGS=$(CXXFLAGS2)
endif
CXXFLAGS variable is being overwritten by predefined value and system variable is not used.