[virglrenderer-devel] [PATCH 3/4] src: Drop useless -I from AM_LDFLAGS in Makefile
Marc-André Lureau
marcandre.lureau at gmail.com
Thu Feb 11 12:57:59 UTC 2016
ack
(I also have somewhat related patch pending:
https://cgit.freedesktop.org/~elmarco/virglrenderer/commit/?id=b989f3a9f8e43bba62572a772bb6bc3f5ba8c99e)
On Thu, Feb 11, 2016 at 1:51 PM, Michal Privoznik <mprivozn at redhat.com> wrote:
> 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
>
> _______________________________________________
> virglrenderer-devel mailing list
> virglrenderer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel
--
Marc-André Lureau
More information about the virglrenderer-devel
mailing list