comparison src/libbiosig.mk @ 5455:8999910050be

* src/libbiosig.mk: dont modify io.h
author John Donoghue <john.donoghue@ieee.org>
date Thu, 11 Jun 2020 08:16:05 -0400
parents e0fd834ea2e1
children 65342965d7f8
comparison
equal deleted inserted replaced
5454:cd41c2d17ef3 5455:8999910050be
27 --prefix=$(HOST_PREFIX) \ 27 --prefix=$(HOST_PREFIX) \
28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) 28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS)
29 29
30 # make sure NDEBUG is defined 30 # make sure NDEBUG is defined
31 $(SED) -i '/NDEBUG/ s|#||g' '$(1)'/Makefile 31 $(SED) -i '/NDEBUG/ s|#||g' '$(1)'/Makefile
32
33 ### disables declaration of sopen from io.h (imported through unistd.h)
34 if [ "$(MXE_SYSTEM)" == "mingw" ]; then \
35 $(SED) -i '/ sopen/ s#^/*#//#g' $(HOST_INCDIR)/io.h; \
36 fi
37 32
38 #$(SED) -i 's| -fstack-protector | |g' '$(1)'/Makefile 33 #$(SED) -i 's| -fstack-protector | |g' '$(1)'/Makefile
39 #$(SED) -i 's| -D_FORTIFY_SOURCE=2 | |g' '$(1)'/Makefile 34 #$(SED) -i 's| -D_FORTIFY_SOURCE=2 | |g' '$(1)'/Makefile
40 #$(SED) -i 's| -lssp | |g' '$(1)'/Makefile 35 #$(SED) -i 's| -lssp | |g' '$(1)'/Makefile
41 36