diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-12 17:57:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-12 17:57:49 +0000 |
commit | d2095b92c6dc4ce18831aae266851680691ea939 (patch) | |
tree | 96a4f6838e1a3ae087045362741910486494abe9 | |
parent | 9b3e7a42c7f10fcb433ca70a7cfab995162e62e1 (diff) | |
download | drakx-backup-do-not-use-d2095b92c6dc4ce18831aae266851680691ea939.tar drakx-backup-do-not-use-d2095b92c6dc4ce18831aae266851680691ea939.tar.gz drakx-backup-do-not-use-d2095b92c6dc4ce18831aae266851680691ea939.tar.bz2 drakx-backup-do-not-use-d2095b92c6dc4ce18831aae266851680691ea939.tar.xz drakx-backup-do-not-use-d2095b92c6dc4ce18831aae266851680691ea939.zip |
remove GLIBC_LDFLAGS_STAGE1 and DIETLIBC_LDFLAGS_STAGE1 since they were not used everywhere,
and so it was not easy to understand
-rw-r--r-- | mdk-stage1/Makefile | 8 | ||||
-rw-r--r-- | mdk-stage1/Makefile.common | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile index d370aab4a..c4550e8a5 100644 --- a/mdk-stage1/Makefile +++ b/mdk-stage1/Makefile @@ -107,11 +107,7 @@ STAGE1_OWN_LIBS = $(INSMOD)/libinsmod.a mar/libmar.a bzlib/libbzlib.a ifeq (DIETLIBC, $(L)) STAGE1_NETWORK_LIBS = $(top_dir)/dietlibc/bin-$(ARCH)/librpc.a else -ifeq (x86_64, $(ARCH)) STAGE1_NETWORK_LIBS = /usr/$(LIB)/libresolv.a -else -STAGE1_NETWORK_LIBS = /usr/lib/libresolv.a -endif endif #- stage1 itself @@ -146,9 +142,9 @@ ifeq (x86_64, $(ARCH)) LDFLAGS_INIT = -static -nostdlib /usr/$(LIB)/crt1.o else ifeq (ia64, $(ARCH)) -LDFLAGS_INIT = $(GLIBC_LDFLAGS_STAGE1) +LDFLAGS_INIT = -static else -LDFLAGS_INIT = $(DIETLIBC_LDFLAGS_STAGE1) +LDFLAGS_INIT = -nostdlib endif endif endif diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common index 56494bb5e..d16c260e4 100644 --- a/mdk-stage1/Makefile.common +++ b/mdk-stage1/Makefile.common @@ -49,8 +49,6 @@ DIETLIBC_INCLUDES = -I$(top_dir)/dietlibc/include -I. -I$(top_dir)/bzlib GLIBC_INCLUDES = -I. -I$(top_dir)/bzlib INCLUDES = $($(L)_INCLUDES) -GLIBC_LDFLAGS_STAGE1 = -static -DIETLIBC_LDFLAGS_STAGE1 = -nostdlib LDFLAGS_STAGE1 = $($(L)_LDFLAGS_STAGE1) STAGE1_LIBC = $($(L)_LIBC) |