diff options
author | Diego Nehab <diego@cartesi.io> | 2020-04-14 16:55:02 -0300 |
---|---|---|
committer | Diego Nehab <diego@cartesi.io> | 2020-04-14 16:55:02 -0300 |
commit | b06176823d8a95d3df0854e71696acafb45a13cf (patch) | |
tree | 6e6da1e50a94640c3313fff584b0a303c1713319 | |
parent | 733af884f1aa18ff469bf3c4d18810e815853211 (diff) | |
download | luasocket-feature/compiler-override.tar.gz luasocket-feature/compiler-override.tar.bz2 luasocket-feature/compiler-override.zip |
Allow CC and LD to be overrridenfeature/compiler-override
-rwxr-xr-x | src/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile index 5a9ba97..45efa7d 100755 --- a/src/makefile +++ b/src/makefile | |||
@@ -283,11 +283,11 @@ SOCKET=$(SOCKET_$(PLAT)) | |||
283 | #------ | 283 | #------ |
284 | # Settings selected for platform | 284 | # Settings selected for platform |
285 | # | 285 | # |
286 | CC=$(CC_$(PLAT)) | 286 | CC?=$(CC_$(PLAT)) |
287 | DEF=$(DEF_$(PLAT)) | 287 | DEF=$(DEF_$(PLAT)) |
288 | CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT)) | 288 | CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT)) |
289 | LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT)) | 289 | LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT)) |
290 | LD=$(LD_$(PLAT)) | 290 | LD?=$(LD_$(PLAT)) |
291 | LUAINC= $(LUAINC_$(PLAT)) | 291 | LUAINC= $(LUAINC_$(PLAT)) |
292 | LUALIB= $(LUALIB_$(PLAT)) | 292 | LUALIB= $(LUALIB_$(PLAT)) |
293 | 293 | ||