openflow: Update docs and add compilation flag required by Clang
This commit is contained in:
committed by
Gabriel Ferreira
parent
9fbb26f04f
commit
7d9543b6f7
@@ -50,7 +50,11 @@ set(NS3_OPENFLOW
|
||||
"ON if Openflow is found in NS3_WITH_OPENFLOW"
|
||||
)
|
||||
|
||||
add_compile_options(-Wno-stringop-truncation)
|
||||
if(${GCC})
|
||||
add_compile_options(-Wno-stringop-truncation) # This option does not exist in CLANG
|
||||
elseif(${CLANG})
|
||||
add_compile_options(-Wno-reserved-user-defined-literal)
|
||||
endif()
|
||||
|
||||
build_lib(
|
||||
LIBNAME openflow
|
||||
|
||||
@@ -146,8 +146,8 @@ To do this:
|
||||
|
||||
From the "openflow" directory, run::
|
||||
|
||||
$ ./ns3 configure
|
||||
$ ./ns3 build
|
||||
$ ./waf configure
|
||||
$ ./waf build
|
||||
|
||||
2. Your OFSID is now built into a libopenflow.a library!
|
||||
To link to an ns-3 build with this OpenFlow switch module, run from the ns-3-dev
|
||||
|
||||
Reference in New Issue
Block a user