diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 00:48:22 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 00:48:22 +0000 |
commit | 3a4739d651cb69acfb23f7f8ec83784c24bc6e48 (patch) | |
tree | 84f2d8f95fbd445bf1dd101b061ff004b1fd2eac /Makefile.target | |
parent | 76b62fd00130a9e8606aeaab82659bddb942dded (diff) |
static link
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@423 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target index 95ea886404..cb6a0cc60a 100644 --- a/Makefile.target +++ b/Makefile.target @@ -39,7 +39,14 @@ OP_CFLAGS+= -falign-functions=0 else OP_CFLAGS+= -malign-functions=0 endif + ifdef TARGET_GPROF +USE_I386_LD=y +endif +ifdef CONFIG_STATIC +USE_I386_LD=y +endif +ifdef USE_I386_LD LDFLAGS+=-Wl,-T,$(SRC_PATH)/i386.ld else # WARNING: this LDFLAGS is _very_ tricky : qemu is an ELF shared object |