-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4002d1
commit 90b8f9b
Showing
2 changed files
with
4 additions
and
19 deletions.
There are no files selected for viewing
21 changes: 3 additions & 18 deletions
21
recipes/recipes_emscripten/openblas/patches/0001-Add-Wno-return-type-flag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,13 @@ | ||
From 09fd1aa0aa6a98e1cebaa6e34fca1e424dab8f48 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= <[email protected]> | ||
Date: Fri, 9 Dec 2022 16:40:13 +0100 | ||
Subject: [PATCH 1/2] Add -Wno-return-type flag | ||
|
||
This is needed because we are changing many signatures to return int instead of | ||
void with some regex expressions but we are not modifying the returned value | ||
which would potentially be a lot more tricky. | ||
|
||
--- | ||
Makefile.rule | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/Makefile.rule b/Makefile.rule | ||
index 5f787a9c..6890046a 100644 | ||
index e57388844..3e2f23611 100644 | ||
--- a/Makefile.rule | ||
+++ b/Makefile.rule | ||
@@ -228,7 +228,7 @@ NO_AFFINITY = 1 | ||
@@ -256,7 +256,7 @@ NO_AFFINITY = 1 | ||
# Common Optimization Flag; | ||
# The default -O2 is enough. | ||
# Flags for POWER8 are defined in Makefile.power. Don't modify COMMON_OPT | ||
-# COMMON_OPT = -O2 | ||
+COMMON_OPT = -O2 -Wno-return-type | ||
+COMMON_OPT = -O2 -Wno-implicit-function-declaration | ||
|
||
# gfortran option for LAPACK to improve thread-safety | ||
# It is enabled by default in Makefile.system for gfortran | ||
-- | ||
2.34.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters