[virglrenderer-devel] [PATCH 3/4] src: Drop useless -I from AM_LDFLAGS in Makefile

Michal Privoznik mprivozn at redhat.com
Thu Feb 11 12:51:13 UTC 2016


The -I switch is meant for extending the list of paths searched
when looking for a header file. There's no justification in
having in linker flags.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 61cf879..8f6538a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
 SUBDIRS := gallium/auxiliary
-AM_LDFLAGS = -lgbm -lm -ldl -I./gallium/include \
+AM_LDFLAGS = -lgbm -lm -ldl \
 	$(EPOXY_LIBS) \
 	$(CODE_COVERAGE_LDFLAGS)
 
-- 
2.4.10



More information about the virglrenderer-devel mailing list