Adding CLang dynamic library while building Firefox

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Adding CLang dynamic library while building Firefox

Petr Vytovtov
Hello!

I wrote the following mozconfig file:

```
export CC=clang
export CXX=clang++

export CFLAGS="-Xclang -load -Xclang /home/osanwe/Documents/libCQCPass.*"
export CXXFLAGS="-Xclang -load -Xclang /home/osanwe/Documents/libCQCPass.*"

mk_add_options PYTHON=/usr/bin/python2

ac_add_options --disable-debug-symbols
```

And got the following error:

```
 0:51.22 ERROR: old-configure failed
 0:51.24 *** Fix above errors and then restart with\
 0:51.24                "/usr/bin/make -f client.mk build"
 0:51.24 client.mk:375: recipe for target 'configure' failed
 0:51.24 make: *** [configure] Error 1
```

How can I add the CLang library for analysing LLVM IR while building Firefox?

Thanks in advance!
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Loading...