summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/crt1.S
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-09-15 22:13:07 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-09-16 22:42:06 +0200
commit41537a770b46f2376e74af58ba4885749339e81e (patch)
treec939e7dd15fc1ae1dc9be19f9bd9cf5dd6f016fd /libc/sysdeps/linux/x86_64/crt1.S
parent143b7505a2cc505e94bde9b82cad4f695d15433d (diff)
buildsys: fix IS_IN_lib*
define NOT_IN_libc / IS_IN_libxxx appropriately to fix pthread_once Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/x86_64/crt1.S')
-rw-r--r--libc/sysdeps/linux/x86_64/crt1.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/x86_64/crt1.S b/libc/sysdeps/linux/x86_64/crt1.S
index 52b564cc8..87777dd5d 100644
--- a/libc/sysdeps/linux/x86_64/crt1.S
+++ b/libc/sysdeps/linux/x86_64/crt1.S
@@ -54,7 +54,9 @@
...
NULL
*/
-
+#if defined NOT_IN_libc
+# error error in build framework
+#endif
#include <features.h>
.text