11 Commits

Author SHA1 Message Date
orbea
fb6fe1a87c Makefile: Better respect CFLAGS and CXXFLAGS as environment variables.
This fixes a few subtle problems with passing CFLAGS and CXXFLAGS as
environment variables for configure.

First it will now only add these variables to config.mk when they are
actually set. If they are unset then the default optimizations in the
Makefile are set. This avoids passing more than one conflicting
optimization level to the compiler.

Next all CFLAGS are added to CXXFLAGS to avoid issues with forgetting to
set both CFLAGS and CXXFLAGS. This results in the cxx compiler getting
passed several redundant optimization levels when both the CFLAGS and
CXXFLAGS environment variabls are used. Now these uses of CFLAGS in
Makefile.common are set to DEF_FLAGS. This allows adding $(DEF_FLAGS)
to the CXXFLAGS variable without adding redundant flags from CFLAGS.

v2: Update other build files.
2018-12-30 17:17:19 -08:00
twinaphex
2945605b61 Update ffmpeg 2016-09-07 13:19:28 +02:00
twinaphex
8b1ee6a2b1 Update 2016-09-05 20:51:23 +02:00
twinaphex
1b94fd2fce Update libretro-ffmpeg 2016-09-05 20:48:27 +02:00
twinaphex
a9d021cbfd (ffmpeg core) Update 2016-09-05 02:45:10 +02:00
twinaphex
bc7db98faf (ffmpeg core) Update 2016-09-05 00:36:04 +02:00
twinaphex
11dfab4e79 (ffmpeg core) Update Makefile 2016-09-05 00:34:38 +02:00
twinaphex
459acfe47d Update 2016-09-03 23:02:10 +02:00
twinaphex
249733b06d Update Makefiles / ffmpeg core 2016-09-03 21:59:52 +02:00
twinaphex
69c983a741 Fix libretro-ffmpeg Makefile 2016-06-15 19:21:06 +02:00
twinaphex
1e681cad4e Move ffmpeg core files 2015-10-19 16:55:08 +02:00