소스 검색

only use patch for ARCH == sparc

Waldemar Brodkorb 10 년 전
부모
커밋
f66ee677a5
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mk/buildhlp.mk
  2. 0 0
      toolchain/gcc/patches/4.8.2/miscompile.sparc

+ 2 - 2
mk/buildhlp.mk

@@ -72,9 +72,9 @@ ifeq ($(strip ${__use_generic_patch_target}),42)
 post-patch:
 ${WRKDIST}/.prepared: ${WRKDIST}/.extract_done
 	[ ! -d ./patches/${PKG_VERSION} ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches/${PKG_VERSION} \
-	    '{patch-!(*.orig),*.patch}' $(MAKE_TRACE)
+	    '{patch-!(*.orig),*.patch,*.${ARCH}}' $(MAKE_TRACE)
 	[ ! -d ./patches ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches \
-	    '{patch-!(*.orig),*.patch}' $(MAKE_TRACE)
+	    '{patch-!(*.orig),*.patch,*.${ARCH}}' $(MAKE_TRACE)
 	[ ! -d ./src ] || (cd src; $(PREVENT_PATCH) cp -Rp . ${WRKDIST}/) \
 		$(MAKE_TRACE)
 	@${MAKE} post-patch $(MAKE_TRACE)

+ 0 - 0
toolchain/gcc/patches/4.8.2/sparc-miscompile.patch → toolchain/gcc/patches/4.8.2/miscompile.sparc