Skip to content

Commit

Permalink
fix: avl flags (#71)
Browse files Browse the repository at this point in the history
* fix: opts are controlled via --compilation_mode

Signed-off-by: Thulio Ferraz Assis <[email protected]>

* fix: remove unnecessary -fPIC

We don't need position independent code since we are not building shared
libraries.

Signed-off-by: Thulio Ferraz Assis <[email protected]>
  • Loading branch information
f0rmiga authored Jun 28, 2022
1 parent 88059eb commit 092e2d7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/avl/avl.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ cc_library(
name = "xwin",
srcs = ["plotlib/xwin11/Xwin2.c"],
defines = ["UNDERSCORE", "NDEBUG"],
copts = ["-O2"],
linkopts = ["-lX11"],
features = ["no_libstdcxx"],
)
Expand Down Expand Up @@ -52,8 +51,6 @@ fortran_library(
defines = ["UNDERSCORE"],
fopts = [
"-fdefault-real-8",
"-fPIC",
"-O2",
"-std=legacy",
"-Wno-conversion",
"-Wno-intrinsic-shadow",
Expand All @@ -71,8 +68,6 @@ fortran_library(
fopts = [
"-fdefault-double-8",
"-fdefault-real-8",
"-fPIC",
"-O2",
"-std=legacy",
"-Wno-conversion",
"-Wno-maybe-uninitialized",
Expand Down Expand Up @@ -133,7 +128,6 @@ fortran_binary(
fopts = [
"-fdefault-real-8",
"-fdollar-ok",
"-O2",
"-std=legacy",
"-Wno-character-truncation",
"-Wno-conversion",
Expand Down

0 comments on commit 092e2d7

Please sign in to comment.