Skip to content

Commit

Permalink
Remove -m64 in LDFLAGS
Browse files Browse the repository at this point in the history
* It is not accepted by gcc.
  • Loading branch information
eregon committed Oct 26, 2023
1 parent 17b439b commit 5d5f195
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/c/cext-trampoline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CC := gcc
endif

CFLAGS := -Wall -Werror -fPIC -std=c99 -g
LDFLAGS := -m64
LDFLAGS :=

ROOT := $(realpath ../../../..)
RUBY_HDR_DIR := $(ROOT)/lib/cext/include
Expand Down
2 changes: 1 addition & 1 deletion src/main/c/spawn-helper/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Q$(MX_VERBOSE) = @

CC := cc
CFLAGS := -Wall -Werror -std=c99
LDFLAGS := -m64
LDFLAGS :=

spawn-helper: spawn-helper.c
$(Q) $(CC) $(LDFLAGS) -o $@ $<
2 changes: 1 addition & 1 deletion src/main/c/truffleposix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif

CC := cc
CFLAGS := -Wall -Werror -fPIC -std=c99 -g
LDFLAGS := -m64
LDFLAGS :=

ifeq ($(OS),Linux)
LDFLAGS += -lrt
Expand Down

0 comments on commit 5d5f195

Please sign in to comment.