소스 검색

fix SSP compile

Waldemar Brodkorb 9 년 전
부모
커밋
d7324bff6b
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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