diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-30 14:28:12 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-30 15:02:43 (GMT) |
commit | c693b4f8f38c435beffe1deb6186912123cd05f9 (patch) | |
tree | b47c1019da25c2b812a8ce205d813526df7e214a /mkspecs/features | |
parent | 00c17e9b630366121116e360cd907c66dffd8fe6 (diff) | |
download | Qt-c693b4f8f38c435beffe1deb6186912123cd05f9.zip Qt-c693b4f8f38c435beffe1deb6186912123cd05f9.tar.gz Qt-c693b4f8f38c435beffe1deb6186912123cd05f9.tar.bz2 |
bye bye QMakeProjectEnv
qmake variables would have been exported to the command run by
$$system() and - optionally - to the command run by system().
however, this was a unix-only feature and made the kernel barf
at the huge environment on older linuxes.
as we don't like platform-specific hacks which are unreliable,
in particular when a workaround exists (the commands execute
shell code after all, so one can inject arbitrary env variables),
just blow it away - it was undocumented, after all.
Reviewed-by: joerg
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/symbian/symbian_building.prf | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf index a097771..eaa7687 100644 --- a/mkspecs/features/symbian/symbian_building.prf +++ b/mkspecs/features/symbian/symbian_building.prf @@ -282,13 +282,3 @@ contains(TEMPLATE, "app"):!contains(CONFIG, "no_icon") { # Generated pkg files QMAKE_DISTCLEAN += $${TARGET}_template.pkg - -# Pre 2.6.23 Linux kernels have a limit on the environment size that can be passed to -# a forked process. We quite easily overstep this boundary when building big projects -# on Symbian, and since we depend on running the system() command, this causes the build -# to fail. Test here that system() can be successfully run. It is important that this -# check happens as late as possible, otherwise it will not be caught. -execve_sanity_test = $$system("echo testing") -!contains(execve_sanity_test, "testing") { - error("Running system() failed. Maybe your kernel is too old? (Linux kernels need at least version 2.6.23)") -} |