Skip to content
Permalink
Browse files

glfw: Set C++ standard instead of using cxx11 PG

  • Loading branch information
cjones051073 committed May 16, 2020
1 parent 182e138 commit a351d7e4c26a23c66c9c885a4a6117e6f17e3c61
Showing with 2 additions and 1 deletion.
  1. +2 −1 graphics/glfw/Portfile
@@ -54,7 +54,6 @@ if {${os.platform} eq "darwin" && ${os.major} == 10} {
# AppleClang >= 700. MacPorts' Clang starts at 3.3, so nothing to
# block there!

PortGroup cxx11 1.1
PortGroup compiler_blacklist_versions 1.0

compiler.blacklist-append macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 \
@@ -63,6 +62,8 @@ if {${os.platform} eq "darwin" && ${os.major} == 10} {
apple-gcc-4.0 apple-gcc-4.2 gcc-3.3 gcc-4.0 llvm-gcc-4.2 gcc cc \
{clang < 700} macports-clang-3.*

compiler.cxx_standard 2011

configure.args-append -DCMAKE_C_STANDARD=11 -DCMAKE_C_EXTENSIONS=OFF

subport glfw-devel {}

0 comments on commit a351d7e

Please sign in to comment.
You can’t perform that action at this time.