History

"configure --enable-cross" on x86: build a libtcc1.a for x86_64

seyko committed 11 years ago

Commit 3dba9cc1 parent e2650602 files · +3 −5Browse files

Showing the changes to lib (1 of 2 files). Show all

Unified · Split

lib/Makefile+2−4
@@ -108,12 +108,10 @@ ifeq ($(TARGETOS),Darwin) · 107 unmodified lines
108 BCHECK_O =108 BCHECK_O =
109endif109endif
110 110
111ifdef XAR111XAR ?= $(AR)
112AR = $(XAR)
113endif
114 112
115$(DIR)/libtcc1.a ../libtcc1.a : $(OBJ) $(XAR)113$(DIR)/libtcc1.a ../libtcc1.a : $(OBJ) $(XAR)
116 $(AR) rcs $@ $(OBJ)114 $(XAR) rcs $@ $(OBJ)
117$(DIR)/%.o : %.c115$(DIR)/%.o : %.c
118 $(XCC) -c $< -o $@ $(XFLAGS)116 $(XCC) -c $< -o $@ $(XFLAGS)
119$(DIR)/%.o : %.S117$(DIR)/%.o : %.S

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t