Opened 14 years ago
Closed 14 years ago
#28730 closed defect (fixed)
Node.js doesn't use the right compiler
Reported by: | ci42 | Owned by: | ceager@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | |
Port: | nodejs |
Description
Configure in node.js does not set the compiler and therefor the default compiler will be used. This could be a problem (see https://trac.macports.org/wiki/UsingTheRightCompiler)
The attached patch sets appropriate flags in the build phase as suggested in the above-mentioned document.
Attachments (1)
Change History (4)
comment:1 follow-up: 2 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to ceager@… |
comment:2 Changed 14 years ago by ci42
You'll also want to include configure.cc_archflags and configure.ld_archflags in CFLAGS and LDFLAGS respectively so that build_arch is obeyed.
Updated the patch accordingly.
comment:3 Changed 14 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r77583.
Note: See
TracTickets for help on using
tickets.
Please remember to cc the maintainer.
You'll also want to include configure.cc_archflags and configure.ld_archflags in CFLAGS and LDFLAGS respectively so that build_arch is obeyed.