$ CC=path_to_the/build/bin/clang
$ CFLAGS+="-mllvm -fla" or CXXFLAGS+="-mllvm -fla" (or any other obfuscation-related flags)
$ ./configure
$ make--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/2933bd67-180f-471a-93b5-9a8dbcf5dcbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@Damien Thank you for your answer.
For CFLAGS and CXXFLAGS I can set them with --copt and --cxxopt ?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/dfd38c3b-aeb7-40a7-99d8-89e5a768deeb%40googlegroups.com.
'--cxxopt=-mllvm -fla','--copt=-mllvm -fla',--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/84e3076b-351f-4210-9340-e3896b6dd19c%40googlegroups.com.
bazel build -c opt
--cxxopt=-mllvm -fla
--copt=-mllvm -fla
//:libfoo.so
--crosstool_top=//external:android/crosstool
--cpu=armeabi-v7a
--host_crosstool_top=@bazel_tools//tools/cpp:toolchain
--verbose_failures
--genrule_strategy=standalone
--spawn_strategy=standalone
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/8b77bfd4-3a5a-4dbb-b5db-40717ad352f6%40googlegroups.com.
clang: error: unknown argument: '-mllvm -fla'--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/d746cf39-6aa9-4f7f-ae12-4b3ee1992d2e%40googlegroups.com.
--host_copt=-mllvm --host_copt=-fla --verbose_failuresclang (LLVM option parsing): Unknown command line argument '-fla'. Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-help'?--host_copt="-mllvm -fla" --verbose_failuresCC=wrong_path_to_the/build/bin/clangbazel cleanexternal/protobuf/src/google/protobuf/stubs/common.h:38:10: fatal error: 'string' file not found
#include <string>
^
1 error generated.
-isystem external/protobuf/src
-isystem bazel-out/arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-opt/genfiles/external/protobuf/src
-isystem external/bazel_tools/tools/cpp/gcc3
-isystem external/eigen_archive
-isystem bazel-out/arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-opt/genfiles/external/eigen_archive
-isystem external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include
-isystem external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed
-isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include
-isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include
-isystem external/androidndk/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward-isystem external/protobuf/src
-isystem bazel-out/host/genfiles/external/protobuf/src
-isystem external/bazel_tools/tools/cpp/gcc3