pcre: pass -fPIC under host as well
static libraries need them as they are not PIC by default. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			
						parent
						
							56cd49bdc8
						
					
				
				
					commit
					fc60b97a77
				
			@@ -67,9 +67,8 @@ HOST_CONFIGURE_ARGS += \
 | 
				
			|||||||
	--enable-unicode-properties \
 | 
						--enable-unicode-properties \
 | 
				
			||||||
	--enable-pcre16 \
 | 
						--enable-pcre16 \
 | 
				
			||||||
	--with-match-limit-recursion=16000 \
 | 
						--with-match-limit-recursion=16000 \
 | 
				
			||||||
	--enable-cpp
 | 
						--enable-cpp \
 | 
				
			||||||
 | 
						--with-pic
 | 
				
			||||||
TARGET_CFLAGS += $(FPIC)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
CONFIGURE_ARGS += \
 | 
					CONFIGURE_ARGS += \
 | 
				
			||||||
	--enable-utf8 \
 | 
						--enable-utf8 \
 | 
				
			||||||
@@ -78,7 +77,8 @@ CONFIGURE_ARGS += \
 | 
				
			|||||||
	--enable-pcre32 \
 | 
						--enable-pcre32 \
 | 
				
			||||||
	$(if $(CONFIG_PCRE_JIT_ENABLED),--enable-jit,--disable-jit) \
 | 
						$(if $(CONFIG_PCRE_JIT_ENABLED),--enable-jit,--disable-jit) \
 | 
				
			||||||
	--with-match-limit-recursion=16000 \
 | 
						--with-match-limit-recursion=16000 \
 | 
				
			||||||
	--$(if $(CONFIG_PACKAGE_libpcrecpp),en,dis)able-cpp
 | 
						--$(if $(CONFIG_PACKAGE_libpcrecpp),en,dis)able-cpp \
 | 
				
			||||||
 | 
						--with-pic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
MAKE_FLAGS += \
 | 
					MAKE_FLAGS += \
 | 
				
			||||||
	CFLAGS="$(TARGET_CFLAGS)"
 | 
						CFLAGS="$(TARGET_CFLAGS)"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user