Commit 0f1ea875 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove unused vlc-config build mode macros

parent 7530a392
......@@ -96,28 +96,22 @@ cppflags="${cppflags} -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURC
# Various additional defines
#
if [ "${debug}" = yes ]; then
cppflags="${cppflags} -DDEBUG"
cflags="${cflags} -g"
cxxflags="${cxxflags} -g"
objcflags="${objcflags} -g"
ldflags="${ldflags} -g"
fi
if [ "${cprof}" = yes ]; then
cppflags="${cppflags} -DCPROF"
cflags="${cflags} -finstrument-functions"
cxxflags="${cxxflags} -finstrument-functions"
objcflags="${objcflags} -finstrument-functions"
fi
if [ "${gprof}" = yes ]; then
cppflags="${cppflags} -DGPROF"
cflags="${cflags} -pg"
cxxflags="${cxxflags} -pg"
objcflags="${objcflags} -pg"
ldflags="${ldflags} -pg"
fi
if [ "${release}" = yes ]; then
cppflags="${cppflags} -DHAVE_RELEASE"
fi
if [ "${optim}" = size ]; then
cflags="${cflags} ${cflags_optim_size} ${cflags_tuning}"
cxxflags="${cxxflags} ${cflags_optim_size} ${cflags_tuning}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment