# Compiling the source file with the helper functions: # Note that the "someboostinstalldir" include directory is marked as system headers to squelch the # warnings from asio when the -Woverloaded-virtual flag is used. # see https://github.com/chriskohlhoff/asio/issues/526 g++ -fno-strict-aliasing -Woverloaded-virtual -Wno-literal-suffix -g -O2 -DBOOST_EXCEPTION_DISABLE -DBOOST_NO_EXCEPTIONS -DBOOST_ASIO_DISABLE_VISIBILITY -isystem../../someboostinstalldir/include -I../../mylib/include -fmessage-length=0 -W -Wall -Wshadow -Wwrite-strings -Wformat-security -Werror -Wmissing-format-attribute -Wno-unused-but-set-variable -mcpu=cortex-a53 -march=armv8-a -funwind-tables -Wa,--noexecstack -Wno-unused-but-set-variable -Wno-literal-suffix -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MMD -MP -MF .deps.bin/asio_converters.cxx.d -c src/asio/asio_converters.cxx -o bin/src/asio/asio_converters.o # Compiling my shared library: gcc -shared -g -O2 -z noexecstack -Wl,--build-id=sha1 -Wl,--hash-style=gnu -Wl,-soname,libmylib.so.1 -o bin/libmylib.so.1.0 bin/src/asio/asio_converters.o