detect glibc round 2

This commit is contained in:
Brannon King 2020-03-11 15:10:27 -06:00 committed by Anthony Fieroni
parent 4c5025b8f7
commit 49f3e519f7

View file

@ -2,7 +2,7 @@ linux_CFLAGS=-pipe
linux_CXXFLAGS=$(linux_CFLAGS) -std=c++11
linux_release_CFLAGS=-O3 -g
ifeq (1,$(shell ldd --version \| head -1 \| awk '{print \$NF < 2.28}'))
ifeq (1,$(shell ldd --version | head -1 | awk '{print $$NF < 2.28}'))
linux_release_CFLAGS+= -include $(BASEDIR)/glibc_version_header/force_link_glibc_2.19.h
endif
linux_release_CXXFLAGS=$(linux_release_CFLAGS)