diff options
Diffstat (limited to 'libcxx/Makefile')
-rw-r--r-- | libcxx/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/Makefile b/libcxx/Makefile index b5c2e4c0ced..1e8418e6d64 100644 --- a/libcxx/Makefile +++ b/libcxx/Makefile @@ -7,7 +7,7 @@ DESTDIR = $(DSTROOT) OBJROOT=. SYMROOT=. -TRIPLE=-apple- +export TRIPLE=-apple- installsrc:: $(SRCROOT) @@ -21,10 +21,12 @@ clean:: installhdrs:: mkdir -p $(DSTROOT)/usr/include/c++/v1/ext - cp -r $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/ + rsync -r --exclude=".*" $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/ chown -R root:wheel $(DSTROOT)/usr/include chmod 755 $(DSTROOT)/usr/include/c++/v1 chmod 644 $(DSTROOT)/usr/include/c++/v1/* + chmod 755 $(DSTROOT)/usr/include/c++/v1/ext + chmod 644 $(DSTROOT)/usr/include/c++/v1/ext/* install:: installhdrs $(DESTDIR) |