aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-10 18:18:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-10 18:18:19 +0000
commitfbf59244b87852ffac7c3ab6a6d57b3a6326f37c (patch)
treebc8188b4635481fb0c286fa3d9d435aaec033a87 /linux-user
parentfa36761d7f9f374777d63ac299bb0acb64bd8a20 (diff)
downloadqemu-fbf59244b87852ffac7c3ab6a6d57b3a6326f37c.zip
qemu-fbf59244b87852ffac7c3ab6a6d57b3a6326f37c.tar.gz
qemu-fbf59244b87852ffac7c3ab6a6d57b3a6326f37c.tar.bz2
static build fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1005 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 00afaaf..bd24452 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -43,7 +43,7 @@ const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";
/* for recent libc, we add these dummy symbols which are not declared
when generating a linked object (bug in ld ?) */
-#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)
+#if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(CONFIG_STATIC)
long __preinit_array_start[0];
long __preinit_array_end[0];
long __init_array_start[0];