Commit: 9cb3db74548335e838c72cc0f9cca44a0514ed9f
Parent: a74c379ec85e3ed6377e02c96adf8cafb763fed3
Author: Randy Palamar
Date: Tue, 10 Sep 2024 09:11:02 -0600
drop pkg-config from build.sh
This was only necessary for freetype/fontconfig. Now it serves no purpose.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/build.sh b/build.sh
@@ -5,11 +5,9 @@ debug=${DEBUG}
version=$(git describe --dirty --always)
cflags="-march=native -O3 -Wall -DVERSION=\"${version}\""
-cflags="$cflags $(pkg-config --cflags glfw3 gl)"
#cflags="${cflags} -fproc-stat-report"
#cflags="${cflags} -Rpass-missed=.*"
-ldflags=""
-ldflags="$ldflags $(pkg-config --static --libs glfw3 gl)"
+ldflags="-lm -lGL -lglfw"
testcflags="$cflags -O0 -ggdb -D_DEBUG -Wno-unused-function -Wno-undefined-internal"