FreeBSD Bugzilla – Attachment 199869 Details for
Bug 233812
devel/psptoolchain-newlib: fix build when -march is set in env
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
devel-psptoolchain-newlib.patch (text/plain), 953 bytes, created by
Tassilo Philipp
on 2018-12-05 22:43:06 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Tassilo Philipp
Created:
2018-12-05 22:43:06 UTC
Size:
953 bytes
patch
obsolete
>diff -ruN devel/psptoolchain-newlib.orig/Makefile devel/psptoolchain-newlib/Makefile >--- devel/psptoolchain-newlib.orig/Makefile 2018-12-05 22:15:06.351072000 +0100 >+++ devel/psptoolchain-newlib/Makefile 2018-12-05 22:20:09.948377000 +0100 >@@ -23,10 +23,12 @@ > > USES= gmake makeinfo > HAS_CONFIGURE= yes >-CONFIGURE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH} >+ >+# psp-gcc doesn't need -march=... in CFLAGS (e.g. set by CPUTYPE in make.conf); also need -g on psp for some reason >+CONFIGURE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH} \ >+ CFLAGS="${CFLAGS:C/(^|[[:space:]])-march=[^[:space:]]*//g} -g" > MAKE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH} > CONFIGURE_ARGS= --prefix=${PREFIX} --target="psp" >-MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS} -g" # Apparently, it doesn't work on the PSP without debug information > > # Disable installation of .info files and fix includedir reference. > post-patch:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tphilipp
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 233812
: 199869