Browse Source

fix SSP compile

Waldemar Brodkorb 10 years ago
parent
commit
d7324bff6b
1 changed files with 5 additions and 0 deletions
  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