mirror of https://github.com/rust-lang/rust.git
Rename a couple CFG_LIB_NAME vars in Makefile.in
This commit is contained in:
parent
8ff77b14a9
commit
c328ba1c54
|
@ -22,7 +22,7 @@ CFG_RUSTC_FLAGS := -nowarn
|
|||
CFG_DSYMUTIL := true
|
||||
|
||||
ifeq ($(CFG_OSTYPE), FreeBSD)
|
||||
LIB := lib$(1).so
|
||||
CFG_LIB_NAME=lib$(1).so
|
||||
CFG_GCC_CFLAGS += -fPIC -march=i686 -I/usr/local/include
|
||||
CFG_GCC_LINK_FLAGS += -shared -fPIC -lpthread -lrt
|
||||
ifeq ($(CFG_CPUTYPE), x86_64)
|
||||
|
@ -33,7 +33,7 @@ ifeq ($(CFG_OSTYPE), FreeBSD)
|
|||
endif
|
||||
|
||||
ifeq ($(CFG_OSTYPE), Linux)
|
||||
LIB := lib$(1).so
|
||||
CFG_LIB_NAME=lib$(1).so
|
||||
CFG_GCC_CFLAGS += -fPIC -march=i686
|
||||
CFG_GCC_LINK_FLAGS += -shared -fPIC -ldl -lpthread -lrt
|
||||
ifeq ($(CFG_CPUTYPE), x86_64)
|
||||
|
@ -44,7 +44,7 @@ ifeq ($(CFG_OSTYPE), Linux)
|
|||
endif
|
||||
|
||||
ifeq ($(CFG_OSTYPE), Darwin)
|
||||
LIB := lib$(1).dylib
|
||||
CFG_LIB_NAME=lib$(1).dylib
|
||||
CFG_UNIXY := 1
|
||||
CFG_GCC_LINK_FLAGS += -dynamiclib -lpthread
|
||||
# Darwin has a very blurry notion of "64 bit", and claims it's running
|
||||
|
|
Loading…
Reference in New Issue