[Mesa-dev] [PATCH shader-db v2 1/3] Makefile: avoid undefined reference build errors

Rhys Kidd rhyskidd at gmail.com
Mon Oct 12 04:25:48 PDT 2015


Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---

v2: Adopt alternative approach to replace LDFLAGS with LDLIBS per discussion
with Matt Turner <mattst88 at gmail.com>

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 1ae0776..9422b32 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@
 
 CFLAGS ?= -g -O2 -march=native -pipe
 CFLAGS += -std=gnu99 -fopenmp
-LDFLAGS = -lepoxy -lgbm
+LDLIBS = -lepoxy -lgbm
 
 run:
 
-- 
2.1.4



More information about the mesa-dev mailing list