Explorar el Código

fix SSP compile

Waldemar Brodkorb hace 11 años
padre
commit
d7324bff6b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      package/sox/Makefile

+ 5 - 0
package/sox/Makefile

@@ -72,6 +72,11 @@ CONFIGURE_ARGS+=	--with-oggvorbis
 else
 else
 CONFIGURE_ARGS+=	--without-oggvorbis
 CONFIGURE_ARGS+=	--without-oggvorbis
 endif
 endif
+ifeq ($(ADK_TARGET_USE_SSP),y)
+CONFIGURE_ARGS+=	--enable-stack-protector
+else
+CONFIGURE_ARGS+=	--disable-stack-protector
+endif
 
 
 sox-install:
 sox-install:
 	$(INSTALL_DIR) $(IDIR_SOX)/usr/lib
 	$(INSTALL_DIR) $(IDIR_SOX)/usr/lib