ae9afbb746
- Add fix-gcc-pgo.patch and enable PGO again. OBS-URL: https://build.opensuse.org/request/show/853750 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=878
13 lines
522 B
Diff
13 lines
522 B
Diff
--- ./build/pgo/profileserver.py 2020-12-02 15:34:46.453053287 +0100
|
|
+++ ./build/pgo/profileserver.py 2020-12-02 15:34:57.988970433 +0100
|
|
@@ -203,7 +203,8 @@
|
|
sys.exit(1)
|
|
|
|
llvm_profdata = env.get('LLVM_PROFDATA')
|
|
- if llvm_profdata:
|
|
+ cc = env.get('CC')
|
|
+ if llvm_profdata and not 'gcc' in cc:
|
|
profraw_files = glob.glob('*.profraw')
|
|
if not profraw_files:
|
|
print('Could not find profraw files in the current directory: %s' % os.getcwd())
|