don't build tcc1.def on Windows.
I think the Windows build portion of the Makefile already provides their own version. If not, we can remove the check.
This commit is contained in:
22
Makefile
22
Makefile
@ -10,17 +10,6 @@ CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC
|
|||||||
LIBS_P=
|
LIBS_P=
|
||||||
LIBS=.
|
LIBS=.
|
||||||
|
|
||||||
LIBTCCB=libtcc.a
|
|
||||||
ifdef DISABLE_STATIC
|
|
||||||
CFLAGS+=-fPIC
|
|
||||||
LIBTCCL=-L. -ltcc
|
|
||||||
LIBTCCB=libtcc.so.1.0
|
|
||||||
endif
|
|
||||||
LIBTCCPROGS=$(LIBTCCB)
|
|
||||||
ifndef CONFIG_WIN32
|
|
||||||
LIBTCCPROGS+=tcc1.def
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(GCC_MAJOR),2)
|
ifneq ($(GCC_MAJOR),2)
|
||||||
CFLAGS+=-fno-strict-aliasing
|
CFLAGS+=-fno-strict-aliasing
|
||||||
ifneq ($(GCC_MAJOR),3)
|
ifneq ($(GCC_MAJOR),3)
|
||||||
@ -125,8 +114,19 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
LIBTCCB=libtcc.a
|
||||||
|
ifdef DISABLE_STATIC
|
||||||
|
CFLAGS+=-fPIC
|
||||||
|
LIBTCCL=-L. -ltcc
|
||||||
|
LIBTCCB=libtcc.so.1.0
|
||||||
|
endif
|
||||||
|
LIBTCCPROGS=$(LIBTCCB)
|
||||||
|
|
||||||
ifdef CONFIG_CROSS
|
ifdef CONFIG_CROSS
|
||||||
PROGS+=$(PROGS_CROSS)
|
PROGS+=$(PROGS_CROSS)
|
||||||
|
ifndef CONFIG_WIN32
|
||||||
|
LIBTCCPROGS+=tcc1.def
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: $(PROGS) $(LIBTCC1) $(BCHECK_O) $(LIBTCCPROGS) tcc-doc.html tcc.1 libtcc_test$(EXESUF)
|
all: $(PROGS) $(LIBTCC1) $(BCHECK_O) $(LIBTCCPROGS) tcc-doc.html tcc.1 libtcc_test$(EXESUF)
|
||||||
|
|||||||
Reference in New Issue
Block a user