Mercurial > mxe-octave
comparison src/fltk.mk @ 3847:61da12fcda03
fltk.mk: strip -Wl,-gc-secions and -fvisibility=hidden from compiler flags
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 07 Mar 2015 13:51:29 -0500 |
parents | 02990526ae69 |
children | eeeff365b6f9 |
comparison
equal
deleted
inserted
replaced
3846:02c08b655d54 | 3847:61da12fcda03 |
---|---|
43 $(ENABLE_SHARED_OR_STATIC) \ | 43 $(ENABLE_SHARED_OR_STATIC) \ |
44 --prefix='$(HOST_PREFIX)' \ | 44 --prefix='$(HOST_PREFIX)' \ |
45 --enable-threads | 45 --enable-threads |
46 ## LIBS='-lws2_32' | 46 ## LIBS='-lws2_32' |
47 # enable exceptions, because disabling them doesn't make any sense on PCs | 47 # enable exceptions, because disabling them doesn't make any sense on PCs |
48 $(SED) -i 's,-fno-exceptions,,' '$(1)/makeinclude' | 48 $(SED) -i 's/-fno-exceptions//; s/-Wl,-gc-sections//; s/-fvisibility=hidden//' '$(1)/makeinclude' |
49 $(MAKE) -C '$(1)' -j '$(JOBS)' install \ | 49 $(MAKE) -C '$(1)' -j '$(JOBS)' install \ |
50 DIRS=src \ | 50 DIRS=src \ |
51 LIBCOMMAND='$(MXE_AR) cr' \ | 51 LIBCOMMAND='$(MXE_AR) cr' \ |
52 DESTDIR='$(3)' | 52 DESTDIR='$(3)' |
53 if [ $(MXE_NATIVE_BUILD) = no ]; then \ | 53 if [ $(MXE_NATIVE_BUILD) = no ]; then \ |