You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/20 09:46:55 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #5559: boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS

xiaoxiang781216 opened a new pull request #5559:
URL: https://github.com/apache/incubator-nuttx/pull/5559


   ## Summary
   follow other board files usage
   
   ## Impact
   Code refactor
   
   ## Testing
   Pass CI
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5559: boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on a change in pull request #5559:
URL: https://github.com/apache/incubator-nuttx/pull/5559#discussion_r810636558



##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -71,17 +74,12 @@ ARCHWARNINGSXX = -Wall -Wshadow -Wundef
 # Add -fvisibility=hidden
 # Because we don't want export nuttx's symbols to share libraries
 
-ARCHCPUFLAGS += -fvisibility=hidden
-ARCHCPUFLAGSXX += -fvisibility=hidden
-
-# Add -fno-common because macOS "ld -r" doesn't seem to pick objects
-# for common symbols.
-ARCHCPUFLAGS += -fno-common
-ARCHCPUFLAGSXX += -fno-common
+ARCHCFLAGS += -fvisibility=hidden

Review comment:
       This modification is aligned with other Make.defs in PR: https://github.com/apache/incubator-nuttx/pull/5553




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] pkarashchenko merged pull request #5559: boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS

Posted by GitBox <gi...@apache.org>.
pkarashchenko merged pull request #5559:
URL: https://github.com/apache/incubator-nuttx/pull/5559


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] pkarashchenko commented on a change in pull request #5559: boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on a change in pull request #5559:
URL: https://github.com/apache/incubator-nuttx/pull/5559#discussion_r810632116



##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -71,17 +74,12 @@ ARCHWARNINGSXX = -Wall -Wshadow -Wundef
 # Add -fvisibility=hidden
 # Because we don't want export nuttx's symbols to share libraries
 
-ARCHCPUFLAGS += -fvisibility=hidden
-ARCHCPUFLAGSXX += -fvisibility=hidden
-
-# Add -fno-common because macOS "ld -r" doesn't seem to pick objects
-# for common symbols.
-ARCHCPUFLAGS += -fno-common
-ARCHCPUFLAGSXX += -fno-common
+ARCHCFLAGS += -fvisibility=hidden

Review comment:
       Maybe we can move this above the same as `-fno-common` was moved?
   Or keep both `-fno-common` and `-fvisibility=hidden` split




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5559: boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on a change in pull request #5559:
URL: https://github.com/apache/incubator-nuttx/pull/5559#discussion_r810636558



##########
File path: boards/sim/sim/sim/scripts/Make.defs
##########
@@ -71,17 +74,12 @@ ARCHWARNINGSXX = -Wall -Wshadow -Wundef
 # Add -fvisibility=hidden
 # Because we don't want export nuttx's symbols to share libraries
 
-ARCHCPUFLAGS += -fvisibility=hidden
-ARCHCPUFLAGSXX += -fvisibility=hidden
-
-# Add -fno-common because macOS "ld -r" doesn't seem to pick objects
-# for common symbols.
-ARCHCPUFLAGS += -fno-common
-ARCHCPUFLAGSXX += -fno-common
+ARCHCFLAGS += -fvisibility=hidden

Review comment:
       This modification is aligned with other Make.defs in PR: https://github.com/apache/incubator-nuttx/pull/5553.
   Other Make.defs doesn't have -fvisibility, so I keep them in the original place.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org