1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Disable vmlinux for now.

committer: mfx <mfx> 968541091 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2000-09-09 23:11:31 +00:00
parent 61d7c3beec
commit 6053637c8f
2 changed files with 10 additions and 5 deletions

View File

@ -13,7 +13,7 @@
ifeq ($(strip $(UCLDIR)),)
# change this to reflect where the UCL library is
UCLDIR = $(HOME)/local/src/ucl-0.90
UCLDIR = $(HOME)/local/src/ucl-0.91
endif
DEBUG = 1
@ -55,7 +55,7 @@ OBJECTS1 = \
packer$o packhead$o packmast$o \
p_com$o p_djgpp2$o p_exe$o p_lx_elf$o p_lx_sep$o p_lx_sh$o \
p_sys$o p_tmt$o p_tos$o \
p_unix$o p_vmlinux$o p_w32pe$o p_wcle$o
p_unix$o p_w32pe$o p_wcle$o
# no exceptions or RTTI
OBJECTS2 = \
@ -117,7 +117,8 @@ else
LDFLAGS = -s
endif
LDFLAGS += -Wl,-Map,$(basename $@).map
LDLIBS = -lz
LDLIBS =
##LDLIBS = -lz
LIBDIRS =
@ -254,11 +255,13 @@ export LIB
ifeq (1,2)
# statically link libc
CC += -ML
LDLIBS = $(u)_s.lib zlib_s.lib setargv.obj
##LDLIBS = $(u)_s.lib zlib_s.lib setargv.obj
LDLIBS = $(u)_s.lib setargv.obj
else
# link against msvcrt.dll
CC += -MD
LDLIBS = $(u).lib zlib.lib setargv.obj
##LDLIBS = $(u).lib zlib.lib setargv.obj
LDLIBS = $(u).lib setargv.obj
endif
ifeq ($(DEBUG),1)
CFLAGS += -Od -ZI

View File

@ -169,8 +169,10 @@ static Packer* try_packers(InputFile *f, try_function func)
return p;
if ((p = func(new PackLinuxI386sh(f),f)) != NULL)
return p;
#if 0
if ((p = func(new PackBvmlinuxI386(f),f)) != NULL)
return p;
#endif
if ((p = func(new PackLinuxI386(f),f)) != NULL)
return p;
if ((p = func(new PackSys(f),f)) != NULL)