⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 117787 in webkit


Ignore:
Timestamp:
May 21, 2012, 9:06:42 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

webkitdirs.pm: Fix undefined CXXFLAGS variable
https://bugs.webkit.org/show_bug.cgi?id=87000

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-05-21
Reviewed by Martin Robinson.

Fixes a warning on Autotools and CMake buildsystem when
CXXFLAGS is not defined.

  • Scripts/webkitdirs.pm:

(runAutogenForAutotoolsProjectIfNecessary):
(generateBuildSystemFromCMakeProject):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r117771 r117787  
     12012-05-21  Thiago Marcos P. Santos  <thiago.santos@intel.com>
     2
     3        webkitdirs.pm: Fix undefined CXXFLAGS variable
     4        https://bugs.webkit.org/show_bug.cgi?id=87000
     5
     6        Reviewed by Martin Robinson.
     7
     8        Fixes a warning on Autotools and CMake buildsystem when
     9        CXXFLAGS is not defined.
     10
     11        * Scripts/webkitdirs.pm:
     12        (runAutogenForAutotoolsProjectIfNecessary):
     13        (generateBuildSystemFromCMakeProject):
     14
    1152012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    216
  • trunk/Tools/Scripts/webkitdirs.pm

    r117298 r117787  
    18701870    determineArchitecture();
    18711871    if ($architecture ne "x86_64" && !isARM()) {
    1872         $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . $ENV{'CXXFLAGS'};
     1872        $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . ($ENV{'CXXFLAGS'} || "");
    18731873    }
    18741874
     
    20942094    determineArchitecture();
    20952095    if ($architecture ne "x86_64" && !isARM()) {
    2096         $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . $ENV{'CXXFLAGS'};
     2096        $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . ($ENV{'CXXFLAGS'} || "");
    20972097    }
    20982098
Note: See TracChangeset for help on using the changeset viewer.