Skip to content

build: export CXXFLAGS#224

Merged
badochov merged 1 commit into
masterfrom
badochov/export-cxxflags
Mar 13, 2025
Merged

build: export CXXFLAGS#224
badochov merged 1 commit into
masterfrom
badochov/export-cxxflags

Conversation

@badochov

Copy link
Copy Markdown

JIRA: RTOS-1013

Description

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: (list targets here).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

Darchiv
Darchiv previously approved these changes Mar 11, 2025
@github-actions

github-actions Bot commented Mar 11, 2025

Copy link
Copy Markdown

Unit Test Results

7 958 tests  ±0   7 416 ✅ ±0   40m 21s ⏱️ -4s
  470 suites ±0     542 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 5274de1. ± Comparison against base commit a17b459.

♻️ This comment has been updated with latest results.

Comment thread Makefile.common Outdated
### right now we should have only target-necessary flags, save them for exporting (for building ports) ###
EXPORT_CFLAGS := $(CFLAGS)
EXPORT_CXXFLAGS := $(CXXFLAGS)
EXPORT_CPPFLAGS := $(CPPFLAGS)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is CPPFLAGS needed? It leaks phoenix-specific flags like NOMMU

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not needed after all my bad.

@badochov badochov force-pushed the badochov/export-cxxflags branch 2 times, most recently from 5c6d553 to 6757f3d Compare March 12, 2025 16:49
JIRA: RTOS-1013
@badochov badochov force-pushed the badochov/export-cxxflags branch from 6757f3d to 5274de1 Compare March 12, 2025 16:50
@badochov badochov merged commit 239b79f into master Mar 13, 2025
@badochov badochov deleted the badochov/export-cxxflags branch March 13, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants