CLUs on M1 Macbook Pro shows "Intel" architecture.

I have changed myApp.app to Universal binary with following guideline by Apple, so under M1 MacBook pro app's architecture is showing in Activity Monitor "Apple" but I have some CLUs as well which are still showing "Intel" while running.

This documentaion has only mentioned about how we can change our project, script files(if any). There is no information on how can we make CLU universal too,
please advise.


https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

If your tools are simple enough, you can just do:
clang -o a.out -arch x64_64 -arch arm64 hello.c

But be careful. There are few projects that are that simple. Sometimes there are very subtle differences between include files and compile-time settings between architectures. In these cases, you may have to compile separately and use lipo to join them together. And if you are building frameworks instead of stand-alone executables, you have to check your own header files for architecture-specific differences.
CLUs on M1 Macbook Pro shows "Intel" architecture.
 
 
Q