From 5b14d5b5a0271ec0063d57b90f7d0b14a87c94d2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 4 Mar 2016 15:36:07 +0100 Subject: Make sure the effect of "pic" / "no-pic" is used with assembler compilations Before the 'Introduce the "pic" / "no-pic" config option' commit, the shared_cflag value for the chosen config would be part of the make variable CFLAG, which got replicated into CFLAGS and ASFLAGS. Since said commit, the shared_cflag value has become a make variable of its own, SHARED_CFLAG (which is left empty in a "no-pic" build). However, ASFLAGS was forgotten. That's what's corrected with this change. Reviewed-by: Andy Polyakov --- engines/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/Makefile.in b/engines/Makefile.in index cc614278fc..aaffe1e8dd 100644 --- a/engines/Makefile.in +++ b/engines/Makefile.in @@ -21,7 +21,7 @@ PLIB_LDFLAG= EX_LIBS= CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG) -ASFLAGS= $(INCLUDES) $(ASFLAG) +ASFLAGS= $(INCLUDES) $(ASFLAG) $(SHARED_CFLAG) AFLAGS= $(ASFLAGS) GENERAL=Makefile engines.com install.com engine_vector.mar -- cgit v1.2.3