GCC Fixes, Add scons compilation + fixes for RedHat. #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o mod_websocket.os -c -Wall -pipe -O2 -fPIC -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/httpd -I/usr/include/apr-1 -I. mod_websocket.c
gcc -o mod_websocket.so -shared mod_websocket.os
gcc -o mod_websocket_draft76.os -c -Wall -pipe -O2 -fPIC -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/httpd -I/usr/include/apr-1 -I. mod_websocket_draft76.c
gcc -o mod_websocket_draft76.so -shared mod_websocket_draft76.os
gcc -o vncproxy/mod_websocket_vnc_proxy.os -c -Wall -pipe -O2 -fPIC -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/httpd -I/usr/include/apr-1 -I. vncproxy/mod_websocket_vnc_proxy.c
gcc -o vncproxy/mod_websocket_vnc_proxy.so -shared vncproxy/mod_websocket_vnc_proxy.os
scons: done building targets.