Browse Source

fix SSP compile

Waldemar Brodkorb 11 năm trước cách đây
mục cha
commit
d7324bff6b
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      package/sox/Makefile

+ 5 - 0
package/sox/Makefile

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