GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: keep PGO settings out of addon builds · nodejs/node@23917ad

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • common.gypi
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@
235235
# frames otherwise, even with --call-graph dwarf.
236236
'cflags': [ '-fno-omit-frame-pointer' ],
237237
}],
238-
['OS=="linux" or OS=="openharmony"', {
238+
# PGO settings are specific to Node, not addons built with node-gyp.
239+
['(OS=="linux" or OS=="openharmony") and configuring_node', {
239240
'conditions': [
240241
['enable_pgo_generate=="true"', {
241242
'cflags': ['<(pgo_generate)'],
@@ -247,7 +248,7 @@
247248
},],
248249
],
249250
},],
250-
['OS=="mac"', {
251+
['OS=="mac" and configuring_node', {
251252
'conditions': [
252253
['enable_pgo_generate=="true"', {
253254
'xcode_settings': {
@@ -312,7 +313,7 @@
312313
},],
313314
],
314315
'target_conditions': [
315-
['_toolset=="target"', {
316+
['_toolset=="target" and <(configuring_node)', {
316317
'conditions': [
317318
['enable_pgo_generate=="true"', {
318319
'msvs_settings': {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.