MozillaFirefox/firefox-esr.spec
branchfirefox52
changeset 976 14640a79141f
parent 975 3dafce6546a4
child 980 c0c95a18e37c
equal deleted inserted replaced
975:3dafce6546a4 976:14640a79141f
   294 export MOZILLA_OFFICIAL=1
   294 export MOZILLA_OFFICIAL=1
   295 export BUILD_OFFICIAL=1
   295 export BUILD_OFFICIAL=1
   296 export MOZ_TELEMETRY_REPORTING=1
   296 export MOZ_TELEMETRY_REPORTING=1
   297 export MOZ_GOOGLE_API_KEY=%{_google_api_key}
   297 export MOZ_GOOGLE_API_KEY=%{_google_api_key}
   298 export CFLAGS="%{optflags} -fno-strict-aliasing"
   298 export CFLAGS="%{optflags} -fno-strict-aliasing"
   299 # boo#986541: add -fno-delete-null-pointer-checks and -fno-inline-small-functions for gcc6
   299 # boo#986541: add -fno-delete-null-pointer-checks for gcc6
   300 %if 0%{?suse_version} > 1320
   300 %if 0%{?suse_version} > 1320
   301 export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks -fno-inline-small-functions"
   301 export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
   302 %endif
   302 %endif
   303 %ifarch %arm
   303 %ifarch %arm
   304 export CFLAGS="${CFLAGS/-g / }"
   304 export CFLAGS="${CFLAGS/-g / }"
   305 %endif
   305 %endif
   306 %ifarch %arm %ix86
   306 %ifarch %arm %ix86
   335 %else
   335 %else
   336 ac_add_options --enable-default-toolkit=cairo-gtk2
   336 ac_add_options --enable-default-toolkit=cairo-gtk2
   337 %endif
   337 %endif
   338 %if 0%{?build_hardened}
   338 %if 0%{?build_hardened}
   339 ac_add_options --enable-pie
   339 ac_add_options --enable-pie
       
   340 %endif
       
   341 # gcc7 (boo#104105)
       
   342 %if 0%{?suse_version} > 1320
       
   343 ac_add_options --enable-optimize="-g -O2"
   340 %endif
   344 %endif
   341 %ifarch %ix86 %arm
   345 %ifarch %ix86 %arm
   342 %if 0%{?suse_version} > 1230
   346 %if 0%{?suse_version} > 1230
   343 ac_add_options --disable-optimize
   347 ac_add_options --disable-optimize
   344 %endif
   348 %endif