Changes between Initial Version and Version 1 of Ticket #49004


Ignore:
Timestamp:
Sep 30, 2015, 1:03:19 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The bug is really that the glew port is not honoring the MacPorts value for configure.optflags (which is -Os by default).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49004

    • Property Owner changed from macports-tickets@… to jmr@…
    • Property Cc jmr@… removed
    • Property Summary changed from Apple clang 7.0 hangs on compiling glew.c to glew: Apple clang 7.0 hangs on compiling glew.c
  • Ticket #49004 – Description

    initial v1  
    11The Apple clang 7.0 compiler from Xcode 7.0.1 hangs on compiling...
    22
     3{{{
    34/usr/bin/clang -DGLEW_NO_GLU -DGLEW_BUILD -O2 -Wall -W -Iinclude -dynamic -fno-common -ansi -pedantic -arch x86_64 -fPIC  -o tmp/darwin/default/shared/glew.o -c src/glew.c
     5}}}
    46
    57The workaround is to use the attached Portfile.diff which changes the optimization from -O2 to -Os in ${worksrcpath}/config/Makefile.darwin which is the fix used in fink's glew package.