summaryrefslogtreecommitdiff
path: root/config/linux.config
AgeCommit message (Collapse)AuthorFilesLines
2020-05-26cerbero: Refactor variant handling in platform config filesNirbheek Chauhan1-16/+3
While parsing config files such as the platform config files, we were exposing variants as an unresolved `list` of "operations" that will enable or disable the variant once they've all been resolved This is buggy because it means that platform config files have no way to know whether a variant has actually been disabled or enabled by the user. Now we always parse variants into the `Variants` object before parsing all configuration files. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/480>
2020-04-03cerbero: Add a new variant for optimizationNirbheek Chauhan1-4/+4
Now you can pass `-v debug,nooptimization` and it will be the same as passing `-Dbuildtype=debug` or `-Doptimization=0 -Ddebug=true` to Meson. Same also applies to non-Meson recipes: `-O2`/`-Os` will be passed if `optimization` is enabled. If not, `-Og` is passed if `debug` is enabled, else `-O0` is passed. This requires revamping how optimization and debug args are added to compiler flags via env vars. Earlier we used to add them in the platform-specific config, but this was duplicated across all configs and was incorrect for Meson recipes. Note that Meson recipes should not be using `get_option('buildtype')` in the build files to check if debugging is enabled because that will return `custom` for most combinations of `optimization` and `debug. See: https://mesonbuild.com/Builtin-options.html#core-options
2019-11-23linux.config: add workaround_ldflagsIlya Smelykh1-1/+3
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/issues/182
2019-09-14Don't use os.environ as a scratch spaceMatthew Waters1-36/+36
Attempt to completely separate the build-time environment from cerbero's runtime environment so they cannot and do not clash.
2019-08-26config: arm linux toolchain prefix is configurableStéphane Cerveau1-5/+11
linux cross-arm cbc file can define the var toolchain prefix to use a custom toolchain.
2019-06-25linux.config: Add support for cross-arm on FedoraNirbheek Chauhan1-3/+9
2019-01-22cerbero: Exorcise gtk2 and sdl variantsNirbheek Chauhan1-4/+0
Nothing uses gtk2 anymore, and we have our own gdk-pixbuf recipe. Also, nothing uses the SDL variant anymore.
2017-12-20Remove unused Windows python SDKXavier Claessens1-2/+0
Those environment variables are not used by python.m4 since 2012. It is using python-config instead which is not present on Windows. so I don't think it has been working on Windows since then. See: https://git.gnome.org/browse/gobject-introspection/commit/m4/python.m4?id=46ccb9dfe51372b0fc51c93890088853d0f1617e https://bugzilla.gnome.org/show_bug.cgi?id=733067
2016-12-14Remove everything related to Gtk3Thibault Saunier1-2/+0
2016-07-25gstreamer-1.0: add 'unwind' variantGuillaume Desmottes1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=768661
2016-01-21Fix a name mismatch between host_prefix and tools_prefixThibault Saunier1-1/+1
I am not sure it is what was meant to be done, but it is the only thing that makes sense as host_prefix does not exist anywhere.
2016-01-21linux.config: Allow tools_prefix to differ from hostOlivier Crête1-3/+5
Some toolchain building tools put a prefix that is different from the host. So allow the .cbc to override the tools prefix if necessary.
2014-09-23toolchain: fix mingw-w32 toolchain build for linuxAndoni Morales Alastruey1-1/+1
Set host='' to prevent the linux.config to append the host triplet in toolchain env variables. Since we are cross-compiling from x86_64, we don't want to end up with CC=i686-linux-gnu-gcc
2014-06-17gtk3: disable variant by defaultAndoni Morales Alastruey1-2/+4
and enable it only in supported platforms
2014-05-15cerbero: add a variant called 'gi' for enabling gobject-introspectionMark Howell1-0/+5
Enabled by default on linux and drawin Disabled if cross-compiling
2014-03-07config: Add support for sysroot and isysroot to linux configOlivier Crête1-1/+14
2014-01-31linux: use host to set the toolchain prefixAndoni Morales Alastruey1-2/+8
2014-01-31arm: fix runtime errors with some toolchainsAndoni Morales Alastruey1-0/+2
2014-01-30variants: add new variants to customize builds even moreAndoni Morales1-0/+15
diabled for ios and android: gtk, python, clutter enabled for linux: x11, alsa, pulse, cdparanoia, v4l2
2014-01-30hacks: workaround a linking bug in older toolchainsJosep Torra1-1/+8
Some older toolchains have a bug searching for indirect dependencies during linking. http://stackoverflow.com/questions/16593519/finding-shared-library-dependencies-when-linking-executable
2014-01-30Add config file for linux arm cross-compilationAndoni Morales1-0/+2
2014-01-30linux: add initial support for ARM cross-compilationAndoni Morales Alastruey1-11/+25
2014-01-30Add missing env variables for common build toolsAndoni Morales Alastruey1-0/+9
2013-11-20config: Handle ccacheEdward Hervey1-2/+6
Handles the case where the compiler was not specified beforehand
2013-05-06config: fix host triplet for linuxAndoni Morales Alastruey1-2/+2
2013-05-06linux: set --host for autotools when cross-compilingAndoni Morales Alastruey1-0/+5
2013-03-02Add -Wall to CFLAGS everywhere to get meaningful compiler warnings in some casesSebastian Dröge1-4/+4
Also fixes some of GLib's configure checks that rely on compiler warnings.
2013-01-31linux: fix x86 cross-compilationAndoni Morales Alastruey1-3/+10
2012-12-03config: set defaults for prefix sources and cache in the configAndoni Morales Alastruey1-9/+0
2012-11-16Fix default Linux x86 config dist pathSebastian Dröge1-1/+1
2012-11-05Typos in commentsXavi Artigas1-3/+3
2012-06-14config: add support for using ccache in the buildsAndoni Morales Alastruey1-0/+4
2012-04-26linux.config: don't verride the cache fileAndoni Morales Alastruey1-2/+2
2012-04-12linux.config: Make sure python modules are installed in the correct place ↵Andre Moreira Magalhaes (andrunko)1-0/+2
(lib instead of lib64).
2012-03-30Set sources prefix and cache based on the architectureAndoni Morales Alastruey1-0/+9
2012-03-20Add missing not for darwing and linuxAndoni Morales Alastruey1-0/+5
2012-03-20don't override flags already setAndoni Morales Alastruey1-4/+3
2012-03-20Make sure to set CFLAGS/CXXFLAGS/OBJFLAGS to "-O2 -g" everywhereSebastian Dröge1-0/+10