Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpuid: blacklist old gcc, fixes build on macOS <10.6 #18629

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions sysutils/cpuid/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ checksums rmd160 036bcc55d4d5812d2aa0b13c5cf7afdc3d5351fd \

patchfiles-append patch-makefile.diff

compiler.blacklist-append \
gcc-3.3 *gcc-4.0 *gcc-4.2

configure {
# no configure script, just a few changes that need to be made to the Makefile
# for it to be configured correctly. Doing these reinplaces in configure{} instead
Expand All @@ -36,3 +39,5 @@ configure {
}

build.args-append CC=${configure.cc} LD=${configure.cc} V=1
destroot.args-append \
CC=${configure.cc} LD=${configure.cc}