gcc41: install mm_malloc.h
authorSimon Schubert <corecode@dragonflybsd.org>
Fri, 28 Aug 2009 10:29:35 +0000 (12:29 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Fri, 28 Aug 2009 10:29:35 +0000 (12:29 +0200)
gnu/lib/gcc41/libgcc/Makefile

index d2632d8..b1aee1a 100644 (file)
@@ -69,7 +69,14 @@ cc_tools: .PHONY
 .if ${MACHINE_ARCH} == "i386"
 .PATH: ${GCCDIR}/gcc/config/i386
 
-INCS=  emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h
+SRCS+= mm_malloc.h
+
+mm_malloc.h: pmm_malloc.h
+       cp ${.ALLSRC} ${.TARGET}
+
+CLEANFILES+=   mm_malloc.h
+
+INCS=  emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
 INCSDIR=       /usr/libdata/gcc41
 .endif