]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mman-linux.h no longer copied
authorRoland McGrath <roland@hack.frob.com>
Tue, 1 Apr 2014 18:45:25 +0000 (11:45 -0700)
committerRoland McGrath <roland@hack.frob.com>
Tue, 1 Apr 2014 18:45:25 +0000 (11:45 -0700)
sysdeps/nacl/Makefile

index dd81215b4a0ea6932fa40e41fff0e245bdd8f714..5f6034ad013afa73930f40df58bef982039081d8 100644 (file)
@@ -84,17 +84,6 @@ $(nacl-optional-interfaces:%=$(nacl-interface-pattern)): \
 sysdep_routines += nacl_interface_query \
                   nacl-interfaces $(nacl-interface-routines)
 
-# The Linux bits are close enough for NaCl and we want to use the existing
-# file rather than copying it into sysdeps/nacl and letting it bit rot.
-# But we certainly don't want sysdeps/unix/sysv/linux in our sysdirs list!
-# So copy the file to the build directory.
-sysdep_headers += bits/mman-linux.h
-before-compile += $(common-objpfx)bits/mman-linux.h
-$(common-objpfx)bits/mman-linux.h: \
-  $(..)sysdeps/unix/sysv/linux/bits/mman-linux.h
-       $(make-target-directory)
-       ln -f $< $@ || cp -f $< $@
-
 # XXX temp test
 others += hello hellow
 others-static += hello