@@ -113,24 +113,25 @@ LIBS = ./libz.a ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a
113
113
# are we a 32-bit architecture? use different libraries then
114
114
else ifeq ($(ARCH), i686)
115
115
CPPFLAGS = -m32 -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable $(STATIC )
116
- # LIBS= -L. ./libz.a ./ libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
117
- LIBS = -lm -lpthread -lssl -lcrypto ./libiconv.a ./libz.a
116
+ # LIBS= -L. ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
117
+ LIBS = -lm -lpthread -lssl -lcrypto ./libiconv.a
118
118
119
119
else ifeq ($(ARCH), i386)
120
120
CPPFLAGS = -m32 -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable $(STATIC )
121
- # LIBS= -L. ./libz.a ./ libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
122
- LIBS = -lm -lpthread -lssl -lcrypto ./libiconv.a ./libz.a
121
+ # LIBS= -L. ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
122
+ LIBS = -lm -lpthread -lssl -lcrypto ./libiconv.a
123
123
124
124
else
125
125
#
126
126
# Use -Wpadded flag to indicate padded structures.
127
127
#
128
- CPPFLAGS = -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable $(STATIC )
129
- # LIBS= -L. ./libz.a ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
128
+ # # FIXME: update standards to "-std=c++11", see #164.
129
+ CPPFLAGS = -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable -std=c++98 $(STATIC )
130
+ # LIBS= -L. ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread
130
131
# apt-get install libssl-dev (to provide libssl and libcrypto)
131
132
# to build static libiconv.a do a './configure --enable$(STATIC)' then 'make'
132
133
# in the iconv directory
133
- LIBS = -lm -lpthread -lssl -lcrypto ./libiconv64.a ./libz64.a
134
+ LIBS = -lm -lpthread -lssl -lcrypto -lz
134
135
135
136
endif
136
137
@@ -145,7 +146,7 @@ endif
145
146
# let's keep the libraries in the repo for easier bug reporting and debugging
146
147
# in general if we can. the includes are still in /usr/include/ however...
147
148
# which is kinda strange but seems to work so far.
148
- # LIBS= -L. ./libz.a ./ libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libgcc.a ./libpthread.a ./libc.a ./libstdc++.a
149
+ # LIBS= -L. ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libgcc.a ./libpthread.a ./libc.a ./libstdc++.a
149
150
150
151
151
152
@@ -177,7 +178,7 @@ vclean:
177
178
@echo " "
178
179
@echo " If make fails on Ubuntu then first run:"
179
180
@echo " "
180
- @echo " sudo apt-get update ; sudo apt-get install make g++ libssl-dev"
181
+ @echo " sudo apt-get update ; sudo apt-get install make g++ libssl-dev zlib1g-dev "
181
182
@echo " "
182
183
@echo " "
183
184
@echo " If make fails on RedHat then first run:"
@@ -221,7 +222,7 @@ cygwin:
221
222
222
223
223
224
gb32 :
224
- make CPPFLAGS=" -m32 -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable $( STATIC) " LIBS=" -L. ./libz.a ./ libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread " gb
225
+ make CPPFLAGS=" -m32 -g -Wall -pipe -fno-stack-protector -Wno-write-strings -Wstrict-aliasing=0 -Wno-uninitialized -DPTHREADS -Wno-unused-but-set-variable $( STATIC) " LIBS=" -L. ./libssl.a ./libcrypto.a ./libiconv.a ./libm.a ./libstdc++.a -lpthread " gb
225
226
226
227
# iana_charset.cpp: parse_iana_charsets.pl character-sets supported_charsets.txt
227
228
# ./parse_iana_charsets.pl < character-sets
0 commit comments