Skip to content

Commit fbebb9d

Browse files
Compile bindgen/ext.c with cflags
To use -fPIC consistently, we need to compile all C files with CFLAGS
1 parent 148b81c commit fbebb9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/gems/js/ext/js/depend

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ bindgen/legacy/%.o: $(srcdir)/bindgen/legacy/%.c
1414

1515
bindgen/ext.o: $(srcdir)/bindgen/ext.c
1616
@mkdir -p "$(@D)"
17-
$(CC) -c -o $@ $<
17+
$(ECHO) compiling $(<)
18+
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<

0 commit comments

Comments
 (0)