Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile update. #26

Merged
merged 4 commits into from Mar 12, 2018
Merged

Makefile update. #26

merged 4 commits into from Mar 12, 2018

Conversation

awdavies
Copy link
Contributor

Fixes issue #19: moving the link statements to the end of the flag
declarations appears to fix the build issue.

Fixes issue google#19: moving the link statements to the end of the flag
declarations appears to fix the build issue.
Copy link
Collaborator

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

Per offline discussion, lets split the flags apart so the compiler flags are still first. Also, don't we need to flip GL and glfw?

@awdavies
Copy link
Contributor Author

Done. PTAL

@@ -75,7 +76,7 @@ $(FLUTTER_EXAMPLE_DIR)/build:
--local-engine=$(FLUTTER_ENGINE_BUILD);

$(BIN_OUT): $(SOURCES) $(LIBRARIES)
$(CXX) $(SOURCES) $(CXXFLAGS) -o $@
$(CXX) $(SOURCES) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's keep C*FLAGS before the sources list.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@awdavies awdavies merged commit 031922d into google:master Mar 12, 2018
@awdavies
Copy link
Contributor Author

Closes #19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants